0s autopkgtest [08:40:54]: starting date and time: 2024-11-16 08:40:54+0000 0s autopkgtest [08:40:54]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [08:40:54]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8vtuzuw3/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-1.secgroup --name adt-plucky-arm64-libjson-schema-modern-perl-20241116-084054-juju-7f2275-prod-proposed-migration-environment-15-5e1dd32d-db6c-4d1b-a18a-6eef20102f88 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -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/ 373s autopkgtest [08:47:07]: testbed dpkg architecture: arm64 373s autopkgtest [08:47:07]: testbed apt version: 2.9.8 373s autopkgtest [08:47:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 374s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 375s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.0 kB] 375s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 375s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 375s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1036 kB] 375s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [171 kB] 375s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 375s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [787 kB] 375s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6404 B] 375s Fetched 2241 kB in 1s (2402 kB/s) 375s Reading package lists... 378s Reading package lists... 378s Building dependency tree... 378s Reading state information... 379s Calculating upgrade... 380s The following NEW packages will be installed: 380s libassuan9 380s The following packages will be upgraded: 380s libgpgme11t64 libseccomp2 python3-cffi-backend python3-markupsafe 380s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 380s Need to get 337 kB of archives. 380s After this operation, 447 kB of additional disk space will be used. 380s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libseccomp2 arm64 2.5.5-1ubuntu5 [51.4 kB] 380s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi-backend arm64 1.17.1-2build1 [89.9 kB] 380s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libassuan9 arm64 3.0.1-2 [40.6 kB] 380s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgpgme11t64 arm64 1.24.0-2ubuntu1 [142 kB] 380s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-markupsafe arm64 2.1.5-1build3 [13.0 kB] 381s Fetched 337 kB in 0s (698 kB/s) 381s (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 ... 79957 files and directories currently installed.) 381s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu5_arm64.deb ... 381s Unpacking libseccomp2:arm64 (2.5.5-1ubuntu5) over (2.5.5-1ubuntu4) ... 381s Setting up libseccomp2:arm64 (2.5.5-1ubuntu5) ... 381s (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 ... 79957 files and directories currently installed.) 381s Preparing to unpack .../python3-cffi-backend_1.17.1-2build1_arm64.deb ... 381s Unpacking python3-cffi-backend:arm64 (1.17.1-2build1) over (1.17.1-2) ... 381s Selecting previously unselected package libassuan9:arm64. 381s Preparing to unpack .../libassuan9_3.0.1-2_arm64.deb ... 381s Unpacking libassuan9:arm64 (3.0.1-2) ... 381s Preparing to unpack .../libgpgme11t64_1.24.0-2ubuntu1_arm64.deb ... 381s Unpacking libgpgme11t64:arm64 (1.24.0-2ubuntu1) over (1.23.2-5ubuntu4) ... 381s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_arm64.deb ... 381s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 381s Setting up python3-markupsafe (2.1.5-1build3) ... 381s Setting up libassuan9:arm64 (3.0.1-2) ... 381s Setting up libgpgme11t64:arm64 (1.24.0-2ubuntu1) ... 381s Setting up python3-cffi-backend:arm64 (1.17.1-2build1) ... 381s Processing triggers for libc-bin (2.40-1ubuntu3) ... 382s Reading package lists... 382s Building dependency tree... 382s Reading state information... 383s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 383s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 383s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 383s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 383s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 385s Reading package lists... 385s Reading package lists... 385s Building dependency tree... 385s Reading state information... 386s Calculating upgrade... 386s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 386s Reading package lists... 386s Building dependency tree... 386s Reading state information... 387s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 390s autopkgtest [08:47:24]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 390s autopkgtest [08:47:24]: @@@@@@@@@@@@@@@@@@@@ apt-source libjson-schema-modern-perl 392s Get:1 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (dsc) [4089 B] 392s Get:2 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (tar) [204 kB] 392s Get:3 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (diff) [7504 B] 392s gpgv: Signature made Sun Oct 27 17:32:08 2024 UTC 392s gpgv: using RSA key D1E1316E93A760A8104D85FABB3A68018649AA06 392s gpgv: Can't check signature: No public key 392s dpkg-source: warning: cannot verify inline signature for ./libjson-schema-modern-perl_0.593-1.dsc: no acceptable signature found 392s autopkgtest [08:47:26]: testing package libjson-schema-modern-perl version 0.593-1 393s autopkgtest [08:47:27]: build not needed 393s autopkgtest [08:47:27]: test autodep8-perl-build-deps: preparing testbed 394s Reading package lists... 395s Building dependency tree... 395s Reading state information... 396s Starting pkgProblemResolver with broken count: 0 396s Starting 2 pkgProblemResolver with broken count: 0 396s Done 397s The following additional packages will be installed: 397s autoconf autodep8 automake autopoint autotools-dev build-essential cpp 397s cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu dctrl-tools debhelper 397s debugedit dh-autoreconf dh-strip-nondeterminism dwz g++ g++-14 397s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 397s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext git git-man 397s intltool-debian javascript-common libalgorithm-c3-perl libarchive-zip-perl 397s libasan8 libautovivification-perl libb-hooks-endofscope-perl 397s libb-hooks-op-check-perl libcc1-0 libclass-c3-perl 397s libclass-data-inheritable-perl libclass-inspector-perl 397s libclass-method-modifiers-perl libclass-singleton-perl libclass-tiny-perl 397s libclass-xsaccessor-perl libcpan-meta-check-perl 397s libcpan-requirements-dynamic-perl libcpanel-json-xs-perl 397s libdata-optlist-perl libdata-validate-domain-perl 397s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 397s libdatetime-timezone-perl libdebhelper-perl libdevel-callchecker-perl 397s libdevel-cycle-perl libdevel-stacktrace-perl libdynaloader-functions-perl 397s libemail-address-xs-perl liberror-perl libeval-closure-perl 397s libexception-class-perl libexporter-tiny-perl libextutils-config-perl 397s libextutils-hascompiler-perl libextutils-helpers-perl 397s libextutils-installpaths-perl libfeature-compat-try-perl libfile-chdir-perl 397s libfile-copy-recursive-perl libfile-sharedir-perl 397s libfile-stripnondeterminism-perl libgcc-14-dev 397s libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 libhwasan0 397s libimport-into-perl libio-stringy-perl libisl23 libitm1 libjs-bootstrap5 397s libjs-highlight.js libjs-popper.js libjson-perl libjson-schema-modern-perl 397s liblsan0 libmodule-build-tiny-perl libmodule-implementation-perl 397s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 397s libmpc3 libmro-compat-perl libnamespace-autoclean-perl 397s libnamespace-clean-perl libnet-domain-tld-perl libnet-idn-encode-perl 397s libpackage-stash-perl libpadwalker-perl libparams-classify-perl 397s libparams-util-perl libparams-validate-perl 397s libparams-validationcompiler-perl libpath-tiny-perl libref-util-perl 397s libref-util-xs-perl librole-tiny-perl libsafe-isa-perl libscope-guard-perl 397s libsereal-decoder-perl libsereal-encoder-perl libsereal-perl 397s libsort-versions-perl libspecio-perl libstdc++-14-dev libstrictures-perl 397s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 397s libsub-install-perl libsub-name-perl libsub-quote-perl 397s libsyntax-keyword-try-perl libtest-deep-perl 397s libtest-deep-unorderedpairs-perl libtest-fatal-perl 397s libtest-file-sharedir-perl libtest-json-schema-acceptance-perl 397s libtest-memory-cycle-perl libtest-needs-perl libtest-warnings-perl 397s libtest-without-module-perl libtest2-suite-perl libtime-moment-perl libtool 397s libtry-tiny-perl libtsan2 libtype-tiny-perl libtype-tiny-xs-perl libubsan1 397s libvariable-magic-perl libxs-parse-keyword-perl libxstring-perl m4 397s pkg-perl-autopkgtest po-debconf 397s Suggested packages: 397s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 397s cpp-14-doc debtags dh-make gcc-14-doc gcc-multilib manpages-dev flex bison 397s gdb gcc-doc gdb-aarch64-linux-gnu gettext-doc libasprintf-dev 397s libgettextpo-dev git-daemon-run | git-daemon-sysvinit git-doc git-email 397s git-gui gitk gitweb git-cvs git-mediawiki git-svn apache2 | lighttpd | httpd 397s bootstrap-icons libjs-bootstrap5-doc libscalar-number-perl libstdc++-14-doc 397s libbareword-filehandles-perl libindirect-perl libmultidimensional-perl 397s libtool-doc gfortran | fortran95-compiler gcj-jdk libdevel-lexalias-perl 397s m4-doc libmail-box-perl 397s Recommended packages: 397s libclass-c3-xs-perl libdevel-lexalias-perl libarchive-cpio-perl node-jquery 397s libjson-xs-perl libev-perl libfuture-asyncawait-perl libio-socket-socks-perl 397s libio-socket-ssl-perl libmojo-server-fastcgi-perl libpackage-stash-xs-perl 397s libunicode-utf8-perl libreadonly-perl libmodule-pluggable-perl libltdl-dev 397s libmail-sendmail-perl 397s The following NEW packages will be installed: 397s autoconf autodep8 automake autopkgtest-satdep autopoint autotools-dev 397s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 397s dctrl-tools debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz 397s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 397s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext git git-man 397s intltool-debian javascript-common libalgorithm-c3-perl libarchive-zip-perl 397s libasan8 libautovivification-perl libb-hooks-endofscope-perl 397s libb-hooks-op-check-perl libcc1-0 libclass-c3-perl 397s libclass-data-inheritable-perl libclass-inspector-perl 397s libclass-method-modifiers-perl libclass-singleton-perl libclass-tiny-perl 397s libclass-xsaccessor-perl libcpan-meta-check-perl 397s libcpan-requirements-dynamic-perl libcpanel-json-xs-perl 397s libdata-optlist-perl libdata-validate-domain-perl 397s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 397s libdatetime-timezone-perl libdebhelper-perl libdevel-callchecker-perl 397s libdevel-cycle-perl libdevel-stacktrace-perl libdynaloader-functions-perl 397s libemail-address-xs-perl liberror-perl libeval-closure-perl 397s libexception-class-perl libexporter-tiny-perl libextutils-config-perl 397s libextutils-hascompiler-perl libextutils-helpers-perl 397s libextutils-installpaths-perl libfeature-compat-try-perl libfile-chdir-perl 397s libfile-copy-recursive-perl libfile-sharedir-perl 397s libfile-stripnondeterminism-perl libgcc-14-dev 397s libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 libhwasan0 397s libimport-into-perl libio-stringy-perl libisl23 libitm1 libjs-bootstrap5 397s libjs-highlight.js libjs-popper.js libjson-perl libjson-schema-modern-perl 397s liblsan0 libmodule-build-tiny-perl libmodule-implementation-perl 397s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 397s libmpc3 libmro-compat-perl libnamespace-autoclean-perl 397s libnamespace-clean-perl libnet-domain-tld-perl libnet-idn-encode-perl 397s libpackage-stash-perl libpadwalker-perl libparams-classify-perl 397s libparams-util-perl libparams-validate-perl 397s libparams-validationcompiler-perl libpath-tiny-perl libref-util-perl 397s libref-util-xs-perl librole-tiny-perl libsafe-isa-perl libscope-guard-perl 397s libsereal-decoder-perl libsereal-encoder-perl libsereal-perl 397s libsort-versions-perl libspecio-perl libstdc++-14-dev libstrictures-perl 397s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 397s libsub-install-perl libsub-name-perl libsub-quote-perl 397s libsyntax-keyword-try-perl libtest-deep-perl 397s libtest-deep-unorderedpairs-perl libtest-fatal-perl 397s libtest-file-sharedir-perl libtest-json-schema-acceptance-perl 397s libtest-memory-cycle-perl libtest-needs-perl libtest-warnings-perl 397s libtest-without-module-perl libtest2-suite-perl libtime-moment-perl libtool 397s libtry-tiny-perl libtsan2 libtype-tiny-perl libtype-tiny-xs-perl libubsan1 397s libvariable-magic-perl libxs-parse-keyword-perl libxstring-perl m4 397s pkg-perl-autopkgtest po-debconf 397s 0 upgraded, 148 newly installed, 0 to remove and 0 not upgraded. 397s Need to get 77.8 MB/77.8 MB of archives. 397s After this operation, 300 MB of additional disk space will be used. 397s Get:1 /tmp/autopkgtest.DjlJoo/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [1184 B] 397s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 398s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 398s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 dctrl-tools arm64 2.24-3build3 [103 kB] 398s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autodep8 all 0.28+nmu1ubuntu1 [13.7 kB] 398s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 398s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 398s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 398s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 398s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 398s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 398s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 398s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 398s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 398s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 398s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 398s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 398s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 398s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 398s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 398s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 398s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 398s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 398s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 399s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 399s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 399s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 399s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 399s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 399s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 399s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 399s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 399s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 399s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 399s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-7build1 [166 kB] 399s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 399s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 399s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 399s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 399s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 399s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 399s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 399s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 399s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 399s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 399s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 liberror-perl all 0.17029-2 [25.6 kB] 399s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 git-man all 1:2.45.2-1ubuntu1 [1122 kB] 399s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 git arm64 1:2.45.2-1ubuntu1 [4045 kB] 400s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 javascript-common all 11+nmu1 [5936 B] 400s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 libalgorithm-c3-perl all 0.11-2 [10.2 kB] 400s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 libautovivification-perl arm64 0.18-2build5 [22.0 kB] 400s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libb-hooks-op-check-perl arm64 0.22-3build2 [9348 B] 400s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libdynaloader-functions-perl all 0.004-1 [11.4 kB] 400s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 libdevel-callchecker-perl arm64 0.009-1build1 [14.0 kB] 400s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 libparams-classify-perl arm64 0.015-2build6 [19.8 kB] 400s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libmodule-runtime-perl all 0.016-2 [16.4 kB] 400s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libtry-tiny-perl all 0.32-1 [21.2 kB] 400s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 libmodule-implementation-perl all 0.09-2 [12.0 kB] 400s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 400s Get:60 http://ftpmaster.internal/ubuntu plucky/main arm64 libvariable-magic-perl arm64 0.64-1build1 [35.3 kB] 400s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 400s Get:62 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclass-c3-perl all 0.35-2 [18.4 kB] 400s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-data-inheritable-perl all 0.10-1 [8038 B] 400s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-inspector-perl all 1.36-3 [15.4 kB] 400s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 400s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclass-singleton-perl all 1.6-2 [11.5 kB] 400s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclass-tiny-perl all 1.008-2 [16.4 kB] 400s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-xsaccessor-perl arm64 1.19-4build5 [32.7 kB] 400s Get:69 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcpan-meta-check-perl all 0.018-1 [6090 B] 400s Get:70 http://ftpmaster.internal/ubuntu plucky/universe arm64 libextutils-config-perl all 0.010-1 [7806 B] 400s Get:71 http://ftpmaster.internal/ubuntu plucky/universe arm64 libextutils-hascompiler-perl all 0.025-1 [7738 B] 400s Get:72 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcpan-requirements-dynamic-perl all 0.001-2 [8206 B] 400s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 libcpanel-json-xs-perl arm64 4.38-1build1 [114 kB] 400s Get:74 http://ftpmaster.internal/ubuntu plucky/main arm64 libparams-util-perl arm64 1.102-3build1 [20.6 kB] 400s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-install-perl all 0.929-1 [9764 B] 400s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 libdata-optlist-perl all 0.114-1 [9708 B] 400s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 libnet-domain-tld-perl all 1.75-4 [29.0 kB] 400s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 libdata-validate-domain-perl all 0.15-1 [10.4 kB] 400s Get:79 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-sharedir-perl all 1.118-3 [14.0 kB] 400s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 libpackage-stash-perl all 0.40-1 [19.5 kB] 400s Get:81 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-identify-perl arm64 0.14-3build4 [9762 B] 400s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-name-perl arm64 0.27-1build4 [10.6 kB] 400s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 libnamespace-clean-perl all 0.27-2 [14.0 kB] 400s Get:84 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnamespace-autoclean-perl all 0.31-1 [11.9 kB] 400s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-exporter-perl all 0.990-1 [49.0 kB] 400s Get:86 http://ftpmaster.internal/ubuntu plucky/universe arm64 libeval-closure-perl all 0.14-3 [10.1 kB] 400s Get:87 http://ftpmaster.internal/ubuntu plucky/main arm64 libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 400s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 libexception-class-perl all 1.45-1 [28.6 kB] 400s Get:89 http://ftpmaster.internal/ubuntu plucky/universe arm64 libparams-validationcompiler-perl all 0.31-1 [28.3 kB] 400s Get:90 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmro-compat-perl all 0.15-2 [10.1 kB] 400s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 librole-tiny-perl all 2.002004-1 [16.3 kB] 400s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 400s Get:93 http://ftpmaster.internal/ubuntu plucky/universe arm64 libxstring-perl arm64 0.005-2build4 [7866 B] 400s Get:94 http://ftpmaster.internal/ubuntu plucky/universe arm64 libspecio-perl all 0.48-1 [137 kB] 400s Get:95 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-locale-perl all 1:1.41-1 [3193 kB] 400s Get:96 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-timezone-perl all 1:2.63-2+2024b [259 kB] 400s Get:97 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-perl arm64 2:1.65-1build3 [95.9 kB] 400s Get:98 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-format-rfc3339-perl all 1.8.0-1 [8156 B] 400s Get:99 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdevel-cycle-perl all 1.12-2 [10.1 kB] 400s Get:100 http://ftpmaster.internal/ubuntu plucky/main arm64 libemail-address-xs-perl arm64 1.05-1build5 [29.0 kB] 400s Get:101 http://ftpmaster.internal/ubuntu plucky/main arm64 libexporter-tiny-perl all 1.006002-1 [36.8 kB] 400s Get:102 http://ftpmaster.internal/ubuntu plucky/universe arm64 libextutils-helpers-perl all 0.028-1 [10.8 kB] 400s Get:103 http://ftpmaster.internal/ubuntu plucky/universe arm64 libextutils-installpaths-perl all 0.014-1 [13.2 kB] 400s Get:104 http://ftpmaster.internal/ubuntu plucky/main arm64 libxs-parse-keyword-perl arm64 0.46-1 [60.5 kB] 400s Get:105 http://ftpmaster.internal/ubuntu plucky/main arm64 libsyntax-keyword-try-perl arm64 0.30-1 [24.2 kB] 400s Get:106 http://ftpmaster.internal/ubuntu plucky/universe arm64 libfeature-compat-try-perl all 0.05-1 [9998 B] 400s Get:107 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-chdir-perl all 0.1008-1.2 [10.4 kB] 400s Get:108 http://ftpmaster.internal/ubuntu plucky/universe arm64 libfile-copy-recursive-perl all 0.45-4 [16.5 kB] 400s Get:109 http://ftpmaster.internal/ubuntu plucky/main arm64 libio-stringy-perl all 2.113-2 [45.3 kB] 400s Get:110 http://ftpmaster.internal/ubuntu plucky/universe arm64 libparams-validate-perl arm64 1.31-2build4 [52.1 kB] 400s Get:111 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libgetopt-long-descriptive-perl all 0.115-1 [24.9 kB] 400s Get:112 http://ftpmaster.internal/ubuntu plucky/main arm64 libsort-versions-perl all 1.62-3 [7378 B] 400s Get:113 http://ftpmaster.internal/ubuntu plucky/main arm64 libgit-wrapper-perl all 0.048-2 [29.5 kB] 400s Get:114 http://ftpmaster.internal/ubuntu plucky/main arm64 libimport-into-perl all 1.002005-2 [10.7 kB] 400s Get:115 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 400s Get:116 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-bootstrap5 all 5.3.3+dfsg-1 [309 kB] 400s Get:117 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 401s Get:118 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 401s Get:119 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmojolicious-perl all 9.38+dfsg-1 [760 kB] 401s Get:120 http://ftpmaster.internal/ubuntu plucky/main arm64 libmoo-perl all 2.005005-1 [47.4 kB] 401s Get:121 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtype-tiny-perl all 2.004000-1 [354 kB] 401s Get:122 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmoox-typetiny-perl all 0.002003-4 [5930 B] 401s Get:123 http://ftpmaster.internal/ubuntu plucky/main arm64 libpath-tiny-perl all 0.146-1 [47.5 kB] 401s Get:124 http://ftpmaster.internal/ubuntu plucky/universe arm64 libref-util-perl all 0.204-2 [15.1 kB] 401s Get:125 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsafe-isa-perl all 1.000010-1 [7684 B] 401s Get:126 http://ftpmaster.internal/ubuntu plucky/main arm64 libstrictures-perl all 2.000006-1 [16.3 kB] 401s Get:127 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjson-schema-modern-perl all 0.593-1 [100 kB] 401s Get:128 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmodule-build-tiny-perl all 0.048-1 [9710 B] 401s Get:129 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnet-idn-encode-perl arm64 2.500-5build1 [83.9 kB] 401s Get:130 http://ftpmaster.internal/ubuntu plucky/universe arm64 libpadwalker-perl arm64 2.5-1build7 [15.3 kB] 401s Get:131 http://ftpmaster.internal/ubuntu plucky/universe arm64 libref-util-xs-perl arm64 0.117-2build5 [12.6 kB] 401s Get:132 http://ftpmaster.internal/ubuntu plucky/universe arm64 libscope-guard-perl all 0.21-2 [7730 B] 401s Get:133 http://ftpmaster.internal/ubuntu plucky/main arm64 libsereal-decoder-perl arm64 5.004+ds-1build4 [101 kB] 401s Get:134 http://ftpmaster.internal/ubuntu plucky/main arm64 libsereal-encoder-perl arm64 5.004+ds-1build4 [104 kB] 401s Get:135 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsereal-perl all 5.004-1 [8770 B] 401s Get:136 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-deep-perl all 1.204-1 [47.1 kB] 401s Get:137 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-deep-unorderedpairs-perl all 0.006-3 [9052 B] 401s Get:138 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-fatal-perl all 0.017-1 [12.2 kB] 401s Get:139 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-file-sharedir-perl all 1.001002-2 [26.3 kB] 401s Get:140 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest2-suite-perl all 0.000163-1 [377 kB] 401s Get:141 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-json-schema-acceptance-perl all 1.026-1 [89.6 kB] 401s Get:142 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-memory-cycle-perl all 1.06-2 [11.0 kB] 401s Get:143 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-needs-perl all 0.002010-1 [8530 B] 401s Get:144 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-warnings-perl all 0.033-1 [18.9 kB] 401s Get:145 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtest-without-module-perl all 0.23-1 [9732 B] 401s Get:146 http://ftpmaster.internal/ubuntu plucky/main arm64 libtime-moment-perl arm64 0.44-2build5 [72.1 kB] 401s Get:147 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtype-tiny-xs-perl arm64 0.025-2build1 [25.2 kB] 401s Get:148 http://ftpmaster.internal/ubuntu plucky/universe arm64 pkg-perl-autopkgtest all 0.80 [18.7 kB] 402s Fetched 77.8 MB in 4s (21.1 MB/s) 402s Selecting previously unselected package m4. 402s (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 ... 79964 files and directories currently installed.) 402s Preparing to unpack .../000-m4_1.4.19-4build1_arm64.deb ... 402s Unpacking m4 (1.4.19-4build1) ... 402s Selecting previously unselected package autoconf. 402s Preparing to unpack .../001-autoconf_2.72-3_all.deb ... 402s Unpacking autoconf (2.72-3) ... 402s Selecting previously unselected package dctrl-tools. 402s Preparing to unpack .../002-dctrl-tools_2.24-3build3_arm64.deb ... 402s Unpacking dctrl-tools (2.24-3build3) ... 402s Selecting previously unselected package autodep8. 402s Preparing to unpack .../003-autodep8_0.28+nmu1ubuntu1_all.deb ... 402s Unpacking autodep8 (0.28+nmu1ubuntu1) ... 402s Selecting previously unselected package autotools-dev. 402s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 402s Unpacking autotools-dev (20220109.1) ... 402s Selecting previously unselected package automake. 402s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 402s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 402s Selecting previously unselected package autopoint. 402s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 402s Unpacking autopoint (0.22.5-2) ... 402s Selecting previously unselected package libisl23:arm64. 402s Preparing to unpack .../007-libisl23_0.27-1_arm64.deb ... 402s Unpacking libisl23:arm64 (0.27-1) ... 402s Selecting previously unselected package libmpc3:arm64. 402s Preparing to unpack .../008-libmpc3_1.3.1-1build2_arm64.deb ... 402s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 402s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 402s Preparing to unpack .../009-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 402s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package cpp-14. 403s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package cpp-aarch64-linux-gnu. 403s Preparing to unpack .../011-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 403s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 403s Selecting previously unselected package cpp. 403s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 403s Unpacking cpp (4:14.1.0-2ubuntu1) ... 403s Selecting previously unselected package libcc1-0:arm64. 403s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package libgomp1:arm64. 403s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package libitm1:arm64. 403s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package libasan8:arm64. 403s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package liblsan0:arm64. 403s Preparing to unpack .../017-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package libtsan2:arm64. 403s Preparing to unpack .../018-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 403s Selecting previously unselected package libubsan1:arm64. 403s Preparing to unpack .../019-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 403s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 404s Selecting previously unselected package libhwasan0:arm64. 404s Preparing to unpack .../020-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 404s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 404s Selecting previously unselected package libgcc-14-dev:arm64. 404s Preparing to unpack .../021-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 404s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 404s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 404s Preparing to unpack .../022-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 404s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 404s Selecting previously unselected package gcc-14. 404s Preparing to unpack .../023-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 404s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 404s Selecting previously unselected package gcc-aarch64-linux-gnu. 404s Preparing to unpack .../024-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 404s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 404s Selecting previously unselected package gcc. 404s Preparing to unpack .../025-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 404s Unpacking gcc (4:14.1.0-2ubuntu1) ... 405s Selecting previously unselected package libstdc++-14-dev:arm64. 405s Preparing to unpack .../026-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 405s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 405s Selecting previously unselected package g++-14-aarch64-linux-gnu. 405s Preparing to unpack .../027-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 405s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 405s Selecting previously unselected package g++-14. 405s Preparing to unpack .../028-g++-14_14.2.0-8ubuntu1_arm64.deb ... 405s Unpacking g++-14 (14.2.0-8ubuntu1) ... 405s Selecting previously unselected package g++-aarch64-linux-gnu. 405s Preparing to unpack .../029-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 405s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 405s Selecting previously unselected package g++. 405s Preparing to unpack .../030-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 405s Unpacking g++ (4:14.1.0-2ubuntu1) ... 405s Selecting previously unselected package build-essential. 405s Preparing to unpack .../031-build-essential_12.10ubuntu1_arm64.deb ... 405s Unpacking build-essential (12.10ubuntu1) ... 405s Selecting previously unselected package libdebhelper-perl. 405s Preparing to unpack .../032-libdebhelper-perl_13.20ubuntu1_all.deb ... 405s Unpacking libdebhelper-perl (13.20ubuntu1) ... 406s Selecting previously unselected package libtool. 406s Preparing to unpack .../033-libtool_2.4.7-7build1_all.deb ... 406s Unpacking libtool (2.4.7-7build1) ... 406s Selecting previously unselected package dh-autoreconf. 406s Preparing to unpack .../034-dh-autoreconf_20_all.deb ... 406s Unpacking dh-autoreconf (20) ... 406s Selecting previously unselected package libarchive-zip-perl. 406s Preparing to unpack .../035-libarchive-zip-perl_1.68-1_all.deb ... 406s Unpacking libarchive-zip-perl (1.68-1) ... 406s Selecting previously unselected package libfile-stripnondeterminism-perl. 406s Preparing to unpack .../036-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 406s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 406s Selecting previously unselected package dh-strip-nondeterminism. 406s Preparing to unpack .../037-dh-strip-nondeterminism_1.14.0-1_all.deb ... 406s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 406s Selecting previously unselected package debugedit. 406s Preparing to unpack .../038-debugedit_1%3a5.1-1_arm64.deb ... 406s Unpacking debugedit (1:5.1-1) ... 406s Selecting previously unselected package dwz. 406s Preparing to unpack .../039-dwz_0.15-1build6_arm64.deb ... 406s Unpacking dwz (0.15-1build6) ... 406s Selecting previously unselected package gettext. 406s Preparing to unpack .../040-gettext_0.22.5-2_arm64.deb ... 406s Unpacking gettext (0.22.5-2) ... 406s Selecting previously unselected package intltool-debian. 406s Preparing to unpack .../041-intltool-debian_0.35.0+20060710.6_all.deb ... 406s Unpacking intltool-debian (0.35.0+20060710.6) ... 406s Selecting previously unselected package po-debconf. 406s Preparing to unpack .../042-po-debconf_1.0.21+nmu1_all.deb ... 406s Unpacking po-debconf (1.0.21+nmu1) ... 406s Selecting previously unselected package debhelper. 406s Preparing to unpack .../043-debhelper_13.20ubuntu1_all.deb ... 406s Unpacking debhelper (13.20ubuntu1) ... 407s Selecting previously unselected package liberror-perl. 407s Preparing to unpack .../044-liberror-perl_0.17029-2_all.deb ... 407s Unpacking liberror-perl (0.17029-2) ... 407s Selecting previously unselected package git-man. 407s Preparing to unpack .../045-git-man_1%3a2.45.2-1ubuntu1_all.deb ... 407s Unpacking git-man (1:2.45.2-1ubuntu1) ... 407s Selecting previously unselected package git. 407s Preparing to unpack .../046-git_1%3a2.45.2-1ubuntu1_arm64.deb ... 407s Unpacking git (1:2.45.2-1ubuntu1) ... 407s Selecting previously unselected package javascript-common. 407s Preparing to unpack .../047-javascript-common_11+nmu1_all.deb ... 407s Unpacking javascript-common (11+nmu1) ... 407s Selecting previously unselected package libalgorithm-c3-perl. 407s Preparing to unpack .../048-libalgorithm-c3-perl_0.11-2_all.deb ... 407s Unpacking libalgorithm-c3-perl (0.11-2) ... 407s Selecting previously unselected package libautovivification-perl:arm64. 407s Preparing to unpack .../049-libautovivification-perl_0.18-2build5_arm64.deb ... 407s Unpacking libautovivification-perl:arm64 (0.18-2build5) ... 407s Selecting previously unselected package libb-hooks-op-check-perl:arm64. 407s Preparing to unpack .../050-libb-hooks-op-check-perl_0.22-3build2_arm64.deb ... 407s Unpacking libb-hooks-op-check-perl:arm64 (0.22-3build2) ... 407s Selecting previously unselected package libdynaloader-functions-perl. 407s Preparing to unpack .../051-libdynaloader-functions-perl_0.004-1_all.deb ... 407s Unpacking libdynaloader-functions-perl (0.004-1) ... 407s Selecting previously unselected package libdevel-callchecker-perl:arm64. 407s Preparing to unpack .../052-libdevel-callchecker-perl_0.009-1build1_arm64.deb ... 407s Unpacking libdevel-callchecker-perl:arm64 (0.009-1build1) ... 407s Selecting previously unselected package libparams-classify-perl:arm64. 407s Preparing to unpack .../053-libparams-classify-perl_0.015-2build6_arm64.deb ... 407s Unpacking libparams-classify-perl:arm64 (0.015-2build6) ... 407s Selecting previously unselected package libmodule-runtime-perl. 407s Preparing to unpack .../054-libmodule-runtime-perl_0.016-2_all.deb ... 407s Unpacking libmodule-runtime-perl (0.016-2) ... 407s Selecting previously unselected package libtry-tiny-perl. 408s Preparing to unpack .../055-libtry-tiny-perl_0.32-1_all.deb ... 408s Unpacking libtry-tiny-perl (0.32-1) ... 408s Selecting previously unselected package libmodule-implementation-perl. 408s Preparing to unpack .../056-libmodule-implementation-perl_0.09-2_all.deb ... 408s Unpacking libmodule-implementation-perl (0.09-2) ... 408s Selecting previously unselected package libsub-exporter-progressive-perl. 408s Preparing to unpack .../057-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 408s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 408s Selecting previously unselected package libvariable-magic-perl. 408s Preparing to unpack .../058-libvariable-magic-perl_0.64-1build1_arm64.deb ... 408s Unpacking libvariable-magic-perl (0.64-1build1) ... 408s Selecting previously unselected package libb-hooks-endofscope-perl. 408s Preparing to unpack .../059-libb-hooks-endofscope-perl_0.28-1_all.deb ... 408s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 408s Selecting previously unselected package libclass-c3-perl. 408s Preparing to unpack .../060-libclass-c3-perl_0.35-2_all.deb ... 408s Unpacking libclass-c3-perl (0.35-2) ... 408s Selecting previously unselected package libclass-data-inheritable-perl. 408s Preparing to unpack .../061-libclass-data-inheritable-perl_0.10-1_all.deb ... 408s Unpacking libclass-data-inheritable-perl (0.10-1) ... 408s Selecting previously unselected package libclass-inspector-perl. 408s Preparing to unpack .../062-libclass-inspector-perl_1.36-3_all.deb ... 408s Unpacking libclass-inspector-perl (1.36-3) ... 408s Selecting previously unselected package libclass-method-modifiers-perl. 408s Preparing to unpack .../063-libclass-method-modifiers-perl_2.15-1_all.deb ... 408s Unpacking libclass-method-modifiers-perl (2.15-1) ... 408s Selecting previously unselected package libclass-singleton-perl. 408s Preparing to unpack .../064-libclass-singleton-perl_1.6-2_all.deb ... 408s Unpacking libclass-singleton-perl (1.6-2) ... 408s Selecting previously unselected package libclass-tiny-perl. 408s Preparing to unpack .../065-libclass-tiny-perl_1.008-2_all.deb ... 408s Unpacking libclass-tiny-perl (1.008-2) ... 408s Selecting previously unselected package libclass-xsaccessor-perl. 408s Preparing to unpack .../066-libclass-xsaccessor-perl_1.19-4build5_arm64.deb ... 408s Unpacking libclass-xsaccessor-perl (1.19-4build5) ... 408s Selecting previously unselected package libcpan-meta-check-perl. 408s Preparing to unpack .../067-libcpan-meta-check-perl_0.018-1_all.deb ... 408s Unpacking libcpan-meta-check-perl (0.018-1) ... 408s Selecting previously unselected package libextutils-config-perl. 408s Preparing to unpack .../068-libextutils-config-perl_0.010-1_all.deb ... 408s Unpacking libextutils-config-perl (0.010-1) ... 408s Selecting previously unselected package libextutils-hascompiler-perl. 408s Preparing to unpack .../069-libextutils-hascompiler-perl_0.025-1_all.deb ... 408s Unpacking libextutils-hascompiler-perl (0.025-1) ... 408s Selecting previously unselected package libcpan-requirements-dynamic-perl. 408s Preparing to unpack .../070-libcpan-requirements-dynamic-perl_0.001-2_all.deb ... 408s Unpacking libcpan-requirements-dynamic-perl (0.001-2) ... 408s Selecting previously unselected package libcpanel-json-xs-perl:arm64. 408s Preparing to unpack .../071-libcpanel-json-xs-perl_4.38-1build1_arm64.deb ... 408s Unpacking libcpanel-json-xs-perl:arm64 (4.38-1build1) ... 408s Selecting previously unselected package libparams-util-perl. 408s Preparing to unpack .../072-libparams-util-perl_1.102-3build1_arm64.deb ... 408s Unpacking libparams-util-perl (1.102-3build1) ... 408s Selecting previously unselected package libsub-install-perl. 408s Preparing to unpack .../073-libsub-install-perl_0.929-1_all.deb ... 408s Unpacking libsub-install-perl (0.929-1) ... 408s Selecting previously unselected package libdata-optlist-perl. 409s Preparing to unpack .../074-libdata-optlist-perl_0.114-1_all.deb ... 409s Unpacking libdata-optlist-perl (0.114-1) ... 409s Selecting previously unselected package libnet-domain-tld-perl. 409s Preparing to unpack .../075-libnet-domain-tld-perl_1.75-4_all.deb ... 409s Unpacking libnet-domain-tld-perl (1.75-4) ... 409s Selecting previously unselected package libdata-validate-domain-perl. 409s Preparing to unpack .../076-libdata-validate-domain-perl_0.15-1_all.deb ... 409s Unpacking libdata-validate-domain-perl (0.15-1) ... 409s Selecting previously unselected package libfile-sharedir-perl. 409s Preparing to unpack .../077-libfile-sharedir-perl_1.118-3_all.deb ... 409s Unpacking libfile-sharedir-perl (1.118-3) ... 409s Selecting previously unselected package libpackage-stash-perl. 409s Preparing to unpack .../078-libpackage-stash-perl_0.40-1_all.deb ... 409s Unpacking libpackage-stash-perl (0.40-1) ... 409s Selecting previously unselected package libsub-identify-perl. 409s Preparing to unpack .../079-libsub-identify-perl_0.14-3build4_arm64.deb ... 409s Unpacking libsub-identify-perl (0.14-3build4) ... 409s Selecting previously unselected package libsub-name-perl:arm64. 409s Preparing to unpack .../080-libsub-name-perl_0.27-1build4_arm64.deb ... 409s Unpacking libsub-name-perl:arm64 (0.27-1build4) ... 409s Selecting previously unselected package libnamespace-clean-perl. 409s Preparing to unpack .../081-libnamespace-clean-perl_0.27-2_all.deb ... 409s Unpacking libnamespace-clean-perl (0.27-2) ... 409s Selecting previously unselected package libnamespace-autoclean-perl. 409s Preparing to unpack .../082-libnamespace-autoclean-perl_0.31-1_all.deb ... 409s Unpacking libnamespace-autoclean-perl (0.31-1) ... 409s Selecting previously unselected package libsub-exporter-perl. 409s Preparing to unpack .../083-libsub-exporter-perl_0.990-1_all.deb ... 409s Unpacking libsub-exporter-perl (0.990-1) ... 409s Selecting previously unselected package libeval-closure-perl. 409s Preparing to unpack .../084-libeval-closure-perl_0.14-3_all.deb ... 409s Unpacking libeval-closure-perl (0.14-3) ... 409s Selecting previously unselected package libdevel-stacktrace-perl. 409s Preparing to unpack .../085-libdevel-stacktrace-perl_2.0500-1_all.deb ... 409s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 409s Selecting previously unselected package libexception-class-perl. 409s Preparing to unpack .../086-libexception-class-perl_1.45-1_all.deb ... 409s Unpacking libexception-class-perl (1.45-1) ... 409s Selecting previously unselected package libparams-validationcompiler-perl. 409s Preparing to unpack .../087-libparams-validationcompiler-perl_0.31-1_all.deb ... 409s Unpacking libparams-validationcompiler-perl (0.31-1) ... 409s Selecting previously unselected package libmro-compat-perl. 409s Preparing to unpack .../088-libmro-compat-perl_0.15-2_all.deb ... 409s Unpacking libmro-compat-perl (0.15-2) ... 409s Selecting previously unselected package librole-tiny-perl. 409s Preparing to unpack .../089-librole-tiny-perl_2.002004-1_all.deb ... 409s Unpacking librole-tiny-perl (2.002004-1) ... 409s Selecting previously unselected package libsub-quote-perl. 409s Preparing to unpack .../090-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 409s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 409s Selecting previously unselected package libxstring-perl:arm64. 410s Preparing to unpack .../091-libxstring-perl_0.005-2build4_arm64.deb ... 410s Unpacking libxstring-perl:arm64 (0.005-2build4) ... 410s Selecting previously unselected package libspecio-perl. 410s Preparing to unpack .../092-libspecio-perl_0.48-1_all.deb ... 410s Unpacking libspecio-perl (0.48-1) ... 410s Selecting previously unselected package libdatetime-locale-perl. 410s Preparing to unpack .../093-libdatetime-locale-perl_1%3a1.41-1_all.deb ... 410s Unpacking libdatetime-locale-perl (1:1.41-1) ... 410s Selecting previously unselected package libdatetime-timezone-perl. 410s Preparing to unpack .../094-libdatetime-timezone-perl_1%3a2.63-2+2024b_all.deb ... 410s Unpacking libdatetime-timezone-perl (1:2.63-2+2024b) ... 410s Selecting previously unselected package libdatetime-perl. 410s Preparing to unpack .../095-libdatetime-perl_2%3a1.65-1build3_arm64.deb ... 410s Unpacking libdatetime-perl (2:1.65-1build3) ... 410s Selecting previously unselected package libdatetime-format-rfc3339-perl. 410s Preparing to unpack .../096-libdatetime-format-rfc3339-perl_1.8.0-1_all.deb ... 410s Unpacking libdatetime-format-rfc3339-perl (1.8.0-1) ... 410s Selecting previously unselected package libdevel-cycle-perl. 410s Preparing to unpack .../097-libdevel-cycle-perl_1.12-2_all.deb ... 410s Unpacking libdevel-cycle-perl (1.12-2) ... 410s Selecting previously unselected package libemail-address-xs-perl. 410s Preparing to unpack .../098-libemail-address-xs-perl_1.05-1build5_arm64.deb ... 410s Unpacking libemail-address-xs-perl (1.05-1build5) ... 410s Selecting previously unselected package libexporter-tiny-perl. 410s Preparing to unpack .../099-libexporter-tiny-perl_1.006002-1_all.deb ... 410s Unpacking libexporter-tiny-perl (1.006002-1) ... 411s Selecting previously unselected package libextutils-helpers-perl. 411s Preparing to unpack .../100-libextutils-helpers-perl_0.028-1_all.deb ... 411s Unpacking libextutils-helpers-perl (0.028-1) ... 411s Selecting previously unselected package libextutils-installpaths-perl. 411s Preparing to unpack .../101-libextutils-installpaths-perl_0.014-1_all.deb ... 411s Unpacking libextutils-installpaths-perl (0.014-1) ... 411s Selecting previously unselected package libxs-parse-keyword-perl. 411s Preparing to unpack .../102-libxs-parse-keyword-perl_0.46-1_arm64.deb ... 411s Unpacking libxs-parse-keyword-perl (0.46-1) ... 411s Selecting previously unselected package libsyntax-keyword-try-perl. 411s Preparing to unpack .../103-libsyntax-keyword-try-perl_0.30-1_arm64.deb ... 411s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 411s Selecting previously unselected package libfeature-compat-try-perl. 411s Preparing to unpack .../104-libfeature-compat-try-perl_0.05-1_all.deb ... 411s Unpacking libfeature-compat-try-perl (0.05-1) ... 411s Selecting previously unselected package libfile-chdir-perl. 411s Preparing to unpack .../105-libfile-chdir-perl_0.1008-1.2_all.deb ... 411s Unpacking libfile-chdir-perl (0.1008-1.2) ... 411s Selecting previously unselected package libfile-copy-recursive-perl. 411s Preparing to unpack .../106-libfile-copy-recursive-perl_0.45-4_all.deb ... 411s Unpacking libfile-copy-recursive-perl (0.45-4) ... 411s Selecting previously unselected package libio-stringy-perl. 411s Preparing to unpack .../107-libio-stringy-perl_2.113-2_all.deb ... 411s Unpacking libio-stringy-perl (2.113-2) ... 411s Selecting previously unselected package libparams-validate-perl:arm64. 411s Preparing to unpack .../108-libparams-validate-perl_1.31-2build4_arm64.deb ... 411s Unpacking libparams-validate-perl:arm64 (1.31-2build4) ... 411s Selecting previously unselected package libgetopt-long-descriptive-perl. 411s Preparing to unpack .../109-libgetopt-long-descriptive-perl_0.115-1_all.deb ... 411s Unpacking libgetopt-long-descriptive-perl (0.115-1) ... 411s Selecting previously unselected package libsort-versions-perl. 411s Preparing to unpack .../110-libsort-versions-perl_1.62-3_all.deb ... 411s Unpacking libsort-versions-perl (1.62-3) ... 411s Selecting previously unselected package libgit-wrapper-perl. 411s Preparing to unpack .../111-libgit-wrapper-perl_0.048-2_all.deb ... 411s Unpacking libgit-wrapper-perl (0.048-2) ... 411s Selecting previously unselected package libimport-into-perl. 411s Preparing to unpack .../112-libimport-into-perl_1.002005-2_all.deb ... 411s Unpacking libimport-into-perl (1.002005-2) ... 411s Selecting previously unselected package libjs-popper.js. 411s Preparing to unpack .../113-libjs-popper.js_1.16.1+ds-6_all.deb ... 411s Unpacking libjs-popper.js (1.16.1+ds-6) ... 411s Selecting previously unselected package libjs-bootstrap5. 411s Preparing to unpack .../114-libjs-bootstrap5_5.3.3+dfsg-1_all.deb ... 411s Unpacking libjs-bootstrap5 (5.3.3+dfsg-1) ... 411s Selecting previously unselected package libjs-highlight.js. 411s Preparing to unpack .../115-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 411s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 411s Selecting previously unselected package libjson-perl. 411s Preparing to unpack .../116-libjson-perl_4.10000-1_all.deb ... 411s Unpacking libjson-perl (4.10000-1) ... 411s Selecting previously unselected package libmojolicious-perl. 412s Preparing to unpack .../117-libmojolicious-perl_9.38+dfsg-1_all.deb ... 412s Unpacking libmojolicious-perl (9.38+dfsg-1) ... 412s Selecting previously unselected package libmoo-perl. 412s Preparing to unpack .../118-libmoo-perl_2.005005-1_all.deb ... 412s Unpacking libmoo-perl (2.005005-1) ... 412s Selecting previously unselected package libtype-tiny-perl. 412s Preparing to unpack .../119-libtype-tiny-perl_2.004000-1_all.deb ... 412s Unpacking libtype-tiny-perl (2.004000-1) ... 412s Selecting previously unselected package libmoox-typetiny-perl. 412s Preparing to unpack .../120-libmoox-typetiny-perl_0.002003-4_all.deb ... 412s Unpacking libmoox-typetiny-perl (0.002003-4) ... 412s Selecting previously unselected package libpath-tiny-perl. 412s Preparing to unpack .../121-libpath-tiny-perl_0.146-1_all.deb ... 412s Unpacking libpath-tiny-perl (0.146-1) ... 412s Selecting previously unselected package libref-util-perl. 412s Preparing to unpack .../122-libref-util-perl_0.204-2_all.deb ... 412s Unpacking libref-util-perl (0.204-2) ... 412s Selecting previously unselected package libsafe-isa-perl. 412s Preparing to unpack .../123-libsafe-isa-perl_1.000010-1_all.deb ... 412s Unpacking libsafe-isa-perl (1.000010-1) ... 412s Selecting previously unselected package libstrictures-perl. 412s Preparing to unpack .../124-libstrictures-perl_2.000006-1_all.deb ... 412s Unpacking libstrictures-perl (2.000006-1) ... 412s Selecting previously unselected package libjson-schema-modern-perl. 412s Preparing to unpack .../125-libjson-schema-modern-perl_0.593-1_all.deb ... 412s Unpacking libjson-schema-modern-perl (0.593-1) ... 412s Selecting previously unselected package libmodule-build-tiny-perl. 412s Preparing to unpack .../126-libmodule-build-tiny-perl_0.048-1_all.deb ... 412s Unpacking libmodule-build-tiny-perl (0.048-1) ... 412s Selecting previously unselected package libnet-idn-encode-perl. 412s Preparing to unpack .../127-libnet-idn-encode-perl_2.500-5build1_arm64.deb ... 412s Unpacking libnet-idn-encode-perl (2.500-5build1) ... 412s Selecting previously unselected package libpadwalker-perl. 412s Preparing to unpack .../128-libpadwalker-perl_2.5-1build7_arm64.deb ... 412s Unpacking libpadwalker-perl (2.5-1build7) ... 412s Selecting previously unselected package libref-util-xs-perl. 412s Preparing to unpack .../129-libref-util-xs-perl_0.117-2build5_arm64.deb ... 412s Unpacking libref-util-xs-perl (0.117-2build5) ... 412s Selecting previously unselected package libscope-guard-perl. 412s Preparing to unpack .../130-libscope-guard-perl_0.21-2_all.deb ... 412s Unpacking libscope-guard-perl (0.21-2) ... 412s Selecting previously unselected package libsereal-decoder-perl. 412s Preparing to unpack .../131-libsereal-decoder-perl_5.004+ds-1build4_arm64.deb ... 412s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 412s Selecting previously unselected package libsereal-encoder-perl. 412s Preparing to unpack .../132-libsereal-encoder-perl_5.004+ds-1build4_arm64.deb ... 412s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 412s Selecting previously unselected package libsereal-perl. 412s Preparing to unpack .../133-libsereal-perl_5.004-1_all.deb ... 412s Unpacking libsereal-perl (5.004-1) ... 412s Selecting previously unselected package libtest-deep-perl. 413s Preparing to unpack .../134-libtest-deep-perl_1.204-1_all.deb ... 413s Unpacking libtest-deep-perl (1.204-1) ... 413s Selecting previously unselected package libtest-deep-unorderedpairs-perl. 413s Preparing to unpack .../135-libtest-deep-unorderedpairs-perl_0.006-3_all.deb ... 413s Unpacking libtest-deep-unorderedpairs-perl (0.006-3) ... 413s Selecting previously unselected package libtest-fatal-perl. 413s Preparing to unpack .../136-libtest-fatal-perl_0.017-1_all.deb ... 413s Unpacking libtest-fatal-perl (0.017-1) ... 413s Selecting previously unselected package libtest-file-sharedir-perl. 413s Preparing to unpack .../137-libtest-file-sharedir-perl_1.001002-2_all.deb ... 413s Unpacking libtest-file-sharedir-perl (1.001002-2) ... 413s Selecting previously unselected package libtest2-suite-perl. 413s Preparing to unpack .../138-libtest2-suite-perl_0.000163-1_all.deb ... 413s Unpacking libtest2-suite-perl (0.000163-1) ... 413s Selecting previously unselected package libtest-json-schema-acceptance-perl. 413s Preparing to unpack .../139-libtest-json-schema-acceptance-perl_1.026-1_all.deb ... 413s Unpacking libtest-json-schema-acceptance-perl (1.026-1) ... 413s Selecting previously unselected package libtest-memory-cycle-perl. 413s Preparing to unpack .../140-libtest-memory-cycle-perl_1.06-2_all.deb ... 413s Unpacking libtest-memory-cycle-perl (1.06-2) ... 413s Selecting previously unselected package libtest-needs-perl. 413s Preparing to unpack .../141-libtest-needs-perl_0.002010-1_all.deb ... 413s Unpacking libtest-needs-perl (0.002010-1) ... 413s Selecting previously unselected package libtest-warnings-perl. 413s Preparing to unpack .../142-libtest-warnings-perl_0.033-1_all.deb ... 413s Unpacking libtest-warnings-perl (0.033-1) ... 413s Selecting previously unselected package libtest-without-module-perl. 413s Preparing to unpack .../143-libtest-without-module-perl_0.23-1_all.deb ... 413s Unpacking libtest-without-module-perl (0.23-1) ... 413s Selecting previously unselected package libtime-moment-perl. 413s Preparing to unpack .../144-libtime-moment-perl_0.44-2build5_arm64.deb ... 413s Unpacking libtime-moment-perl (0.44-2build5) ... 413s Selecting previously unselected package libtype-tiny-xs-perl:arm64. 413s Preparing to unpack .../145-libtype-tiny-xs-perl_0.025-2build1_arm64.deb ... 413s Unpacking libtype-tiny-xs-perl:arm64 (0.025-2build1) ... 413s Selecting previously unselected package pkg-perl-autopkgtest. 413s Preparing to unpack .../146-pkg-perl-autopkgtest_0.80_all.deb ... 413s Unpacking pkg-perl-autopkgtest (0.80) ... 413s Selecting previously unselected package autopkgtest-satdep. 413s Preparing to unpack .../147-1-autopkgtest-satdep.deb ... 413s Unpacking autopkgtest-satdep (0) ... 413s Setting up javascript-common (11+nmu1) ... 413s Setting up libdevel-cycle-perl (1.12-2) ... 413s Setting up libextutils-config-perl (0.010-1) ... 413s Setting up libsafe-isa-perl (1.000010-1) ... 413s Setting up libextutils-helpers-perl (0.028-1) ... 413s Setting up libclass-inspector-perl (1.36-3) ... 413s Setting up libtest-without-module-perl (0.23-1) ... 413s Setting up libdynaloader-functions-perl (0.004-1) ... 413s Setting up libtest-deep-perl (1.204-1) ... 413s Setting up libclass-method-modifiers-perl (2.15-1) ... 413s Setting up libref-util-xs-perl (0.117-2build5) ... 413s Setting up libjs-popper.js (1.16.1+ds-6) ... 413s Setting up libnet-idn-encode-perl (2.500-5build1) ... 413s Setting up libarchive-zip-perl (1.68-1) ... 413s Setting up libsub-identify-perl (0.14-3build4) ... 413s Setting up libcpanel-json-xs-perl:arm64 (4.38-1build1) ... 413s Setting up libextutils-installpaths-perl (0.014-1) ... 413s Setting up libio-stringy-perl (2.113-2) ... 413s Setting up libdebhelper-perl (13.20ubuntu1) ... 413s Setting up libtry-tiny-perl (0.32-1) ... 413s Setting up libtest-warnings-perl (0.033-1) ... 413s Setting up libtest-fatal-perl (0.017-1) ... 413s Setting up libextutils-hascompiler-perl (0.025-1) ... 413s Setting up m4 (1.4.19-4build1) ... 413s Setting up libclass-singleton-perl (1.6-2) ... 413s Setting up libtime-moment-perl (0.44-2build5) ... 414s Setting up libpadwalker-perl (2.5-1build7) ... 414s Setting up libcpan-requirements-dynamic-perl (0.001-2) ... 414s Setting up libxstring-perl:arm64 (0.005-2build4) ... 414s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 414s Setting up libsub-install-perl (0.929-1) ... 414s Setting up libtest2-suite-perl (0.000163-1) ... 414s Setting up libtest-needs-perl (0.002010-1) ... 414s Setting up libscope-guard-perl (0.21-2) ... 414s Setting up libfile-copy-recursive-perl (0.45-4) ... 414s Setting up liberror-perl (0.17029-2) ... 414s Setting up libautovivification-perl:arm64 (0.18-2build5) ... 414s Setting up libtest-memory-cycle-perl (1.06-2) ... 414s Setting up autotools-dev (20220109.1) ... 414s Setting up libclass-data-inheritable-perl (0.10-1) ... 414s Setting up libalgorithm-c3-perl (0.11-2) ... 414s Setting up libclass-tiny-perl (1.008-2) ... 414s Setting up libtest-deep-unorderedpairs-perl (0.006-3) ... 414s Setting up libref-util-perl (0.204-2) ... 414s Setting up libnet-domain-tld-perl (1.75-4) ... 414s Setting up libmpc3:arm64 (1.3.1-1build2) ... 414s Setting up libvariable-magic-perl (0.64-1build1) ... 414s Setting up autopoint (0.22.5-2) ... 414s Setting up libb-hooks-op-check-perl:arm64 (0.22-3build2) ... 414s Setting up libparams-util-perl (1.102-3build1) ... 414s Setting up autoconf (2.72-3) ... 414s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 414s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libsub-name-perl:arm64 (0.27-1build4) ... 414s Setting up libtype-tiny-xs-perl:arm64 (0.025-2build1) ... 414s Setting up dwz (0.15-1build6) ... 414s Setting up libdata-validate-domain-perl (0.15-1) ... 414s Setting up libcpan-meta-check-perl (0.018-1) ... 414s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 414s Setting up libfile-chdir-perl (0.1008-1.2) ... 414s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libpath-tiny-perl (0.146-1) ... 414s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libjson-perl (4.10000-1) ... 414s Setting up librole-tiny-perl (2.002004-1) ... 414s Setting up debugedit (1:5.1-1) ... 414s Setting up libfile-sharedir-perl (1.118-3) ... 414s Setting up git-man (1:2.45.2-1ubuntu1) ... 414s Setting up libstrictures-perl (2.000006-1) ... 414s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 414s Setting up libdevel-stacktrace-perl (2.0500-1) ... 414s Setting up libclass-xsaccessor-perl (1.19-4build5) ... 414s Setting up libsort-versions-perl (1.62-3) ... 414s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libexporter-tiny-perl (1.006002-1) ... 414s Setting up libisl23:arm64 (0.27-1) ... 414s Setting up libjs-bootstrap5 (5.3.3+dfsg-1) ... 414s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 414s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 414s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 414s Setting up dctrl-tools (2.24-3build3) ... 414s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 414s Setting up autodep8 (0.28+nmu1ubuntu1) ... 414s Setting up libemail-address-xs-perl (1.05-1build5) ... 414s Setting up automake (1:1.16.5-1.3ubuntu1) ... 414s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 414s Setting up libmodule-build-tiny-perl (0.048-1) ... 414s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 414s Setting up gettext (0.22.5-2) ... 414s Setting up libmojolicious-perl (9.38+dfsg-1) ... 414s Setting up libtype-tiny-perl (2.004000-1) ... 414s Setting up libsereal-perl (5.004-1) ... 414s Setting up libexception-class-perl (1.45-1) ... 414s Setting up libclass-c3-perl (0.35-2) ... 414s Setting up libdevel-callchecker-perl:arm64 (0.009-1build1) ... 414s Setting up intltool-debian (0.35.0+20060710.6) ... 414s Setting up libxs-parse-keyword-perl (0.46-1) ... 414s Setting up libtest-file-sharedir-perl (1.001002-2) ... 414s Setting up libdata-optlist-perl (0.114-1) ... 414s Setting up git (1:2.45.2-1ubuntu1) ... 414s Setting up pkg-perl-autopkgtest (0.80) ... 414s Setting up dh-strip-nondeterminism (1.14.0-1) ... 414s Setting up libsyntax-keyword-try-perl (0.30-1) ... 414s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 414s Setting up libgit-wrapper-perl (0.048-2) ... 414s Setting up libmro-compat-perl (0.15-2) ... 414s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 414s Setting up libsub-exporter-perl (0.990-1) ... 414s Setting up libeval-closure-perl (0.14-3) ... 414s Setting up libparams-validationcompiler-perl (0.31-1) ... 414s Setting up libfeature-compat-try-perl (0.05-1) ... 414s Setting up po-debconf (1.0.21+nmu1) ... 414s Setting up libparams-classify-perl:arm64 (0.015-2build6) ... 414s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 414s Setting up libmodule-runtime-perl (0.016-2) ... 414s Setting up cpp-14 (14.2.0-8ubuntu1) ... 414s Setting up cpp (4:14.1.0-2ubuntu1) ... 414s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 414s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 414s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 414s Setting up libmodule-implementation-perl (0.09-2) ... 414s Setting up libpackage-stash-perl (0.40-1) ... 414s Setting up libimport-into-perl (1.002005-2) ... 414s Setting up libmoo-perl (2.005005-1) ... 414s Setting up gcc-14 (14.2.0-8ubuntu1) ... 414s Setting up libspecio-perl (0.48-1) ... 414s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 414s Setting up libmoox-typetiny-perl (0.002003-4) ... 414s Setting up g++-14 (14.2.0-8ubuntu1) ... 414s Setting up libparams-validate-perl:arm64 (1.31-2build4) ... 414s Setting up libb-hooks-endofscope-perl (0.28-1) ... 414s Setting up libtool (2.4.7-7build1) ... 414s Setting up gcc (4:14.1.0-2ubuntu1) ... 414s Setting up dh-autoreconf (20) ... 414s Setting up libnamespace-clean-perl (0.27-2) ... 414s Setting up libgetopt-long-descriptive-perl (0.115-1) ... 414s Setting up g++ (4:14.1.0-2ubuntu1) ... 414s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 414s Setting up libtest-json-schema-acceptance-perl (1.026-1) ... 414s Setting up build-essential (12.10ubuntu1) ... 414s Setting up libnamespace-autoclean-perl (0.31-1) ... 414s Setting up libdatetime-locale-perl (1:1.41-1) ... 414s Setting up libdatetime-timezone-perl (1:2.63-2+2024b) ... 414s Setting up debhelper (13.20ubuntu1) ... 414s Setting up libjson-schema-modern-perl (0.593-1) ... 414s Setting up libdatetime-perl (2:1.65-1build3) ... 414s Setting up libdatetime-format-rfc3339-perl (1.8.0-1) ... 414s Setting up autopkgtest-satdep (0) ... 414s Processing triggers for man-db (2.13.0-1) ... 416s Processing triggers for install-info (7.1.1-1) ... 417s Processing triggers for libc-bin (2.40-1ubuntu3) ... 424s (Reading database ... 89727 files and directories currently installed.) 424s Removing autopkgtest-satdep (0) ... 424s autopkgtest [08:47:58]: test autodep8-perl-build-deps: /usr/share/pkg-perl-autopkgtest/runner build-deps 424s autopkgtest [08:47:58]: test autodep8-perl-build-deps: [----------------------- 425s t/00-report-prereqs.t ................... 425s 1..1 425s # 425s # Versions for all modules listed in static metadata (including optional ones): 425s # 425s # === Configure Requires === 425s # 425s # Module Want Have 425s # ------------------- ----- -------- 425s # Module::Build::Tiny 0.034 0.048 425s # perl 5.020 5.040000 425s # 425s # === Test Requires === 425s # 425s # Module Want Have 425s # ------------------------------ -------- -------- 425s # CPAN::Meta::Check 0.011 0.018 425s # CPAN::Meta::Requirements any 2.143 425s # Data::Dumper any 2.189 425s # File::Spec any 3.90 425s # IPC::Open3 any 1.22 425s # Math::BigInt 1.999701 2.003002 425s # Module::Metadata any 1.000038 425s # Test2::API any 1.302199 425s # Test2::V0 any 0.000163 425s # Test::Deep any 1.204 425s # Test::Deep::UnorderedPairs any 0.006 425s # Test::Fatal any 0.017 425s # Test::File::ShareDir any 1.001002 425s # Test::JSON::Schema::Acceptance 1.021 1.026 425s # Test::Memory::Cycle any 1.06 425s # Test::More 0.96 1.302199 425s # Test::Needs any 0.002010 425s # Test::Warnings any 0.033 425s # Test::Without::Module 0.21 0.23 425s # lib any 0.65 425s # perl v5.20.0 5.040000 425s # utf8 any 1.25 425s # 425s # === Test Recommends === 425s # 425s # Module Want Have 425s # ---------- -------- -------- 425s # CPAN::Meta 2.120900 2.150010 425s # 425s # === Runtime Requires === 425s # 425s # Module Want Have 425s # ------------------------- -------- -------- 425s # B any 1.89 425s # Carp any 1.54 425s # Cpanel::JSON::XS 4.38 4.38 425s # Digest::MD5 any 2.58_01 425s # Exporter any 5.78 425s # Feature::Compat::Try any 0.05 425s # File::ShareDir any 1.118 425s # Getopt::Long::Descriptive any 0.115 425s # JSON::PP 4.11 4.16 425s # List::Util 1.55 1.63 425s # MIME::Base64 any 3.16_01 425s # Math::BigFloat any 2.003002 425s # Math::BigInt 1.999701 2.003002 425s # Module::Runtime any 0.016 425s # Mojo::JSON any undef 425s # Mojo::JSON::Pointer any undef 425s # Mojo::URL any undef 425s # Mojolicious 7.87 9.38 425s # Moo any 2.005005 425s # Moo::Role any 2.005005 425s # MooX::TypeTiny 0.002002 0.002003 425s # Path::Tiny any 0.146 425s # Ref::Util 0.100 0.204 425s # Safe::Isa 1.000008 1.000010 425s # Scalar::Util any 1.63 425s # Storable any 3.32 425s # Sub::Install any 0.929 425s # Types::Common::Numeric any 2.004000 425s # Types::Standard 1.016003 2.004000 425s # autovivification any 0.18 425s # constant any 1.33 425s # experimental 0.026 0.032 425s # if any 0.0610 425s # namespace::clean any 0.27 425s # open any 1.13 425s # overload any 1.37 425s # perl v5.20.0 5.040000 425s # stable 0.031 0.033 425s # strict any 1.13 425s # strictures 2 2.000006 425s # warnings any 1.70 425s # 425s # === Runtime Suggests === 425s # 425s # Module Want Have 425s # ------------------------- ---- ------ 425s # Class::XSAccessor any 1.19 425s # Data::Validate::Domain any 0.15 425s # DateTime::Format::RFC3339 any v1.8.0 425s # Email::Address::XS 1.04 1.05 425s # Net::IDN::Encode any 2.500 425s # Ref::Util::XS any 0.117 425s # Sereal any 5.004 425s # Time::Moment any 0.44 425s # Type::Tiny::XS any 0.025 425s # 425s # === Other Modules === 425s # 425s # Module Have 425s # ---------------- -------- 425s # Cpanel::JSON::XS 4.38 425s # Encode 3.21 425s # File::Temp 0.2311 425s # JSON::PP 4.16 425s # JSON::XS missing 425s # Math::BigFloat 2.003002 425s # Math::BigInt 2.003002 425s # Module::Runtime 0.016 425s # Mojolicious 9.38 425s # Pod::Coverage missing 425s # Sereal::Decoder 5.004 425s # Sereal::Encoder 5.004 425s # Sub::Name 0.27 425s # YAML missing 425s # autodie 2.37 425s # 425s ok 1 - Reported prereqs 425s ok 427s t/add-schema.t .......................... 427s # Subtest: evaluate a document 427s ok 1 - evaluate a Document object 427s ok 2 - resource index from the document is copied to the main object 427s ok 3 - evaluate a Document object again without error 427s 1..3 427s ok 1 - evaluate a document 427s # Subtest: evaluate a uri 427s ok 1 - evaluate with a uri that is not yet loaded 427s ok 2 - the metaschema is now loaded and its resources are indexed 427s ok 3 - evaluate against the metaschema again 427s ok 4 - evaluate against the a subschema of the metaschema 427s ok 5 - evaluate against the a fragment of the metaschema that does not exist 427s ok 6 - evaluate against the a plain-name fragment of the metaschema that does not exist 427s 1..6 427s ok 2 - evaluate a uri 427s # Subtest: add a uri resource 427s ok 1 - ->get in scalar context on a URI to the head of a document 427s ok 2 - get() did not return a reference to the original data 427s ok 3 - ->get in list context on a URI to the head of a document 427s ok 4 - ->get in scalar context on a URI to inside of a document 427s ok 5 - ->get in list context on a URI to inside of a document 427s 1..5 427s ok 3 - add a uri resource 427s # Subtest: add a schema associated with a uri 427s ok 1 - cannot use a uri with a fragment 427s ok 2 - added the schema data with an associated uri 427s ok 3 - can now evaluate using a uri to a subschema of a resource we loaded earlier 427s ok 4 - can also evaluate using a non-canonical uri 427s ok 5 - can add the same document and associate it with another schema 427s ok 6 - can add the same document twice, using deprecated interface 427s ok 7 - warned when using deprecated form of add_schema 427s ok 8 - can add the same document again with the proper interface 427s ok 9 - now the document is available as all three uris 427s 1..9 427s ok 4 - add a schema associated with a uri 427s # Subtest: add a document without associating it with a uri 427s ok 1 - added the document without an associated uri 427s ok 2 - document only added under its canonical uri 427s 1..2 427s ok 5 - add a document without associating it with a uri 427s # Subtest: add a schema without a uri 427s ok 1 - added the schema data without an associated uri 427s ok 2 - document only added under its canonical uri 427s 1..2 427s ok 6 - add a schema without a uri 427s # Subtest: $ref to non-canonical uri 427s ok 1 - errors use the canonical uri, not the uri used to evaluate against 427s ok 2 - non-canonical uri is not used to resolve inner $id keywords 427s ok 3 - the canonical uri is updated when use the canonical uri, not the uri used to evaluate against 427s ok 4 - canonical_uri is not always what was in the $ref, even when no local $id is present 427s ok 5 - canonical_uri fragment also needs to be adjusted 427s ok 6 - canonical_uri starts out containing a fragment and can be appended to during traversal 427s 1..6 427s ok 7 - $ref to non-canonical uri 427s # Subtest: register a document against multiple uris; do not allow duplicate uris 427s ok 1 - resource index from the document is copied to the main object 427s ok 2 - add a secondary uri for the same document 427s ok 3 - secondary uri not also added to the document 427s ok 4 - cannot call add_schema with the same URI as for another schema 427s ok 5 - cannot reuse the same $id in another document 427s ok 6 - resource index remains unchanged after erroneous add_schema calls 427s ok 7 - adding the same schema *content* again does not fail, and returns the original document object 427s ok 8 - original document remains unchanged - the new uri was not added to it 427s ok 9 - new uri was added against the original document (no new document created) 427s ok 10 - ->get in scalar context on a secondary URI with a plain-name fragment 427s ok 11 - ->get in list context on a URI with a plain-name fragment includes the canonical uri 427s ok 12 - ->get in scalar context for a nonexistent resource returns undef 427s ok 13 - ->get in list context for a nonexistent resource returns empty list 427s 1..13 427s ok 8 - register a document against multiple uris; do not allow duplicate uris 427s # Subtest: external resource with externally-supplied uri; main resource with multiple uris 427s ok 1 - all uris in result are correct, using secondary uri as the target 427s ok 2 - all uris in result are correct, using main uri as the target 427s ok 3 - all uris in result are correct, using the literal schema as the target 427s 1..3 427s ok 9 - external resource with externally-supplied uri; main resource with multiple uris 427s # Subtest: document with no canonical URI, but assigned a URI through add_schema 427s ok 1 - evaluate a schema referencing a document given an ad-hoc uri 427s ok 2 - adding a uri to an existing document does not change its canonical uri 427s 1..2 427s ok 10 - document with no canonical URI, but assigned a URI through add_schema 427s 1..10 427s ok 437s t/additional-tests-draft2019-09.t ....... 437s # AUTHOR_TESTING: 437s # AUTOMATED_TESTING: 1 437s # EXTENDED_TESTING: 437s # NO_TODO: 437s # TEST_DIR: 437s # NO_SHORT_CIRCUIT: 437s # 437s # running tests in /tmp/autopkgtest.DjlJoo/autopkgtest_tmp/smoked4Icf7/t/additional-tests-draft2019-09 against draft2019-09... 437s # 437s ok 1 - anchor.json: "non-schema object containing an $anchor property" - "skip traversing definition for a valid result" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 2 - anchor.json: "non-schema object containing an $anchor property" - "const at const_not_anchor does not match" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else/$ref/const" 437s # }, 437s # { 437s # "error": "subschema is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else/$ref/const" 437s # }, 437s # { 437s # "error": "subschema is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 3 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "properties evaluated from allOf" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 4 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "extra property" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/bar", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/bar", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 5 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "properties evaluated from additionalProperties" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 6 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "extra property" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/bar", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/bar", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 7 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "properties evaluated from allOf, but unevaluated is buried" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/foo", 437s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "no subschemas are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/foo", 437s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "no subschemas are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 8 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "no properties" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 9 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "properties evaluated from additionalProperties, but unevaluated is buried" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/foo", 437s # "keywordLocation": "/allOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "subschema 0 is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/foo", 437s # "keywordLocation": "/allOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf/0/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "subschema 0 is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 10 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "no properties" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 11 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 12 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/not" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/not" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 13 - badRef.json: "good references in schemas" - "this data is never used" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 14 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/then/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/then/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 15 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/then/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/then/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 16 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 17 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 437s # "error": "got string, not integer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/0/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 437s # "error": "got string, not integer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/1/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/2/const" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/3/enum" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 437s # "error": "no subschemas are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 437s # "error": "got string, not integer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/0/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 437s # "error": "got string, not integer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/1/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/2/const" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf/3/enum" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 437s # "error": "no subschemas are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/anyOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 18 - format-duration.json: "validation of duration strings" - "years and months can appear without days" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 19 - format-duration.json: "validation of duration strings" - "months and days can appear without years" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 20 - format-duration.json: "validation of duration strings" - "hours and minutes can appear without seconds" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 21 - format-duration.json: "validation of duration strings" - "minutes and seconds can appear without hour" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 22 - format-duration.json: "validation of duration strings" - "elements may be omitted if their value is zero" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 23 - format-duration.json: "validation of duration strings" - "half a year duration, with full stop decimal point" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 24 - format-duration.json: "validation of duration strings" - "half a year duration, with comma decimal point" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 25 - format-duration.json: "validation of duration strings" - "only one unit can have a non-integer quantity" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid duration", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid duration", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 26 - format-duration.json: "validation of duration strings" - "only the smallest unit can have a non-integer quantity" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid duration", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid duration", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 27 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv4", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv4", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 28 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv4", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv4", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 29 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 30 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv4", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv4", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 31 - format-ipv6.json: "validation of ipv6 strings" - "fully expanded with zeroes" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 32 - format-ipv6.json: "validation of ipv6 strings" - "partially collapsed zeroes" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 33 - format-ipv6.json: "validation of ipv6 strings" - "4,2 zeroes" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 34 - format-ipv6.json: "validation of ipv6 strings" - "8 single zeroes, no double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 35 - format-ipv6.json: "validation of ipv6 strings" - "7 single zeroes, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 36 - format-ipv6.json: "validation of ipv6 strings" - "6 single zeroes, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 37 - format-ipv6.json: "validation of ipv6 strings" - "5 single zeroes, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 38 - format-ipv6.json: "validation of ipv6 strings" - "4 single zeroes, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 39 - format-ipv6.json: "validation of ipv6 strings" - "3 single zeroes, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 40 - format-ipv6.json: "validation of ipv6 strings" - "2 single zeroes, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 41 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, leading double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 42 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, trailing double colon" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 43 - format-ipv6.json: "validation of ipv6 strings" - "2 leading colons with 8 zeroes" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 44 - format-ipv6.json: "validation of ipv6 strings" - "1 leading colon with 8 zeroes" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 45 - format-ipv6.json: "validation of ipv6 strings" - "colons in the middle with 8 zeroes" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 46 - format-ipv6.json: "validation of ipv6 strings" - "1 trailing colon with 8 zeroes" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 47 - format-ipv6.json: "validation of ipv6 strings" - "2 trailing colons with 8 zeroes" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid ipv6", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 48 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 49 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 50 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 51 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 52 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid relative-json-pointer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid relative-json-pointer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 53 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid relative-json-pointer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid relative-json-pointer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 54 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid relative-json-pointer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid relative-json-pointer", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 55 - formats.json: "format validation after a $ref" - "invalid duration" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/my_format/format", 437s # "error": "not a valid duration", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/my_format/format", 437s # "error": "not a valid duration", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 56 - formats.json: "format validation after a $ref" - "valid duration" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 57 - formats.json: "format validation after an $id" - "invalid duration" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 437s # "error": "not a valid duration", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/allOf/0/format" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "bloop#/allOf", 437s # "error": "subschema 0 is not valid", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/allOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 437s # "error": "not a valid duration", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/allOf/0/format" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "bloop#/allOf", 437s # "error": "subschema 0 is not valid", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/allOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 58 - formats.json: "format validation after an $id" - "valid duration" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s # 437s ok 59 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 60 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else/$ref/const" 437s # }, 437s # { 437s # "error": "subschema is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else/$ref/const" 437s # }, 437s # { 437s # "error": "subschema is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 61 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 62 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 63 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 64 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$id cannot be empty", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$id" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 65 - integers.json: "type checks" - "beyond int64 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 66 - integers.json: "type checks" - "int64 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 67 - integers.json: "type checks" - "beyond int32 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 68 - integers.json: "type checks" - "int32 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 69 - integers.json: "type checks" - "zero" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 70 - integers.json: "type checks" - "int32 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 71 - integers.json: "type checks" - "beyond int32 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 72 - integers.json: "type checks" - "upper int64 boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 73 - integers.json: "type checks" - "beyond int64 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 74 - integers.json: "int32 range checks" - "beyond lower boundary" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than -2147483648", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than -2147483648", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 75 - integers.json: "int32 range checks" - "lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 76 - integers.json: "int32 range checks" - "zero" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 77 - integers.json: "int32 range checks" - "upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 78 - integers.json: "int32 range checks" - "beyond upper boundary" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2147483647", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2147483647", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 79 - integers.json: "int64 range checks" - "beyond lower boundary" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than -9223372036854775808", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than -9223372036854775808", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 80 - integers.json: "int64 range checks" - "lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 81 - integers.json: "int64 range checks" - "zero" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 82 - integers.json: "int64 range checks" - "upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 83 - integers.json: "int64 range checks" - "beyond upper boundary" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 9223372036854775807", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 9223372036854775807", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 84 - integers.json: "equality checks" - "beyond int64 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 85 - integers.json: "equality checks" - "int64 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 86 - integers.json: "equality checks" - "beyond int32 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 87 - integers.json: "equality checks" - "int32 lower boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 88 - integers.json: "equality checks" - "zero" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 89 - integers.json: "equality checks" - "one" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/enum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/enum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 90 - integers.json: "equality checks" - "int32 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 91 - integers.json: "equality checks" - "beyond int32 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 92 - integers.json: "equality checks" - "int64 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 93 - integers.json: "equality checks" - "beyond int64 upper boundary" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s # 437s ok 94 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 95 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 96 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 97 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 98 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 99 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 100 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 101 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 102 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 103 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 104 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 105 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 106 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 107 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 108 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 109 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 110 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 111 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 112 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 113 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 114 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 115 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 116 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 117 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 118 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 119 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 120 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 121 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 122 - keyword-independence.json: "items + maximum" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 123 - keyword-independence.json: "items + maximum" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 124 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 125 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 126 - keyword-independence.json: "items + minimum" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 127 - keyword-independence.json: "items + minimum" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 128 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 129 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 130 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 131 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 132 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 133 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 134 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 135 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 136 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 137 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 138 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 139 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 140 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 141 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 142 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 143 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 144 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 145 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 146 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 147 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 148 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 149 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 150 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 151 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 152 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 153 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 154 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 155 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 156 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 157 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 158 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 159 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 160 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 161 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 162 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 163 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 164 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 165 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 166 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 167 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 168 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 169 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 170 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 171 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 172 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 173 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 174 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 175 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 176 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 177 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 178 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 179 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 180 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 181 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 182 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 183 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 184 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 185 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 186 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 187 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 188 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 189 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 190 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 191 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 192 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 193 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 194 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 195 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 196 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 197 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 198 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 199 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 200 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 201 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 202 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 203 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 204 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 205 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 206 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 207 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 208 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 209 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 210 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 211 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 212 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 213 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 214 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 215 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 216 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 217 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 218 - keyword-independence.json: "contains + dependentRequired" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 219 - keyword-independence.json: "contains + dependentRequired" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 220 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 221 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 222 - keyword-independence.json: "contains + dependentSchemas" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 223 - keyword-independence.json: "contains + dependentSchemas" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 224 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 225 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 226 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 227 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 228 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 229 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 230 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 231 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 232 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 233 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 234 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 235 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 236 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 237 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 238 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 239 - keyword-independence.json: "contains + properties" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 240 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 241 - keyword-independence.json: "contains + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 242 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 243 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 244 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 245 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 246 - keyword-independence.json: "contains + required" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 247 - keyword-independence.json: "contains + required" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 248 - keyword-independence.json: "contains + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 249 - keyword-independence.json: "contains + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 250 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 251 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 252 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 253 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 254 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 255 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 256 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 257 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 258 - keyword-independence.json: "dependentRequired + items" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 259 - keyword-independence.json: "dependentRequired + items" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 260 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 261 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 262 - keyword-independence.json: "dependentSchemas + items" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 263 - keyword-independence.json: "dependentSchemas + items" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 264 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 265 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 266 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 267 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 268 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 269 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 270 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 271 - keyword-independence.json: "items + minProperties" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 272 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 273 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 274 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 275 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 276 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 277 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 278 - keyword-independence.json: "items + properties" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 279 - keyword-independence.json: "items + properties" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 280 - keyword-independence.json: "items + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 281 - keyword-independence.json: "items + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 282 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 283 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 284 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 285 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 286 - keyword-independence.json: "items + required" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 287 - keyword-independence.json: "items + required" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 288 - keyword-independence.json: "items + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 289 - keyword-independence.json: "items + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 290 - keyword-independence.json: "items + unevaluatedProperties" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 291 - keyword-independence.json: "items + unevaluatedProperties" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 292 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 293 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 294 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 295 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 296 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 297 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 298 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 299 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 300 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 301 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 302 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 303 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 304 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 305 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 306 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 307 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 308 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 309 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 310 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 311 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 312 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 313 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 314 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 315 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 316 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 317 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 318 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 319 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 320 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 321 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 322 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 323 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 324 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 325 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 326 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 327 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 328 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 329 - keyword-independence.json: "maxItems + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 330 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 331 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 332 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 333 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 334 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 335 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 336 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 337 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 338 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 339 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 340 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 341 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 342 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 343 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 344 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 345 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 346 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 347 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 348 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 349 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 350 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 351 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 352 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 353 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 354 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 355 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 356 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 357 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 358 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 359 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 360 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 361 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 362 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 363 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 364 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 365 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 366 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 367 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 368 - keyword-independence.json: "minItems + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 369 - keyword-independence.json: "minItems + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 370 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 371 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 372 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 373 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 374 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 375 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 376 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 377 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 378 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 379 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 380 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 381 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 382 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 383 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 384 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 385 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 386 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 387 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 388 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 389 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 390 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 391 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 392 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 393 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 394 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 395 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 396 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 397 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 398 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 399 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 400 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 401 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 402 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 403 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 404 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 405 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 406 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 407 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 408 - keyword-independence.json: "required + unevaluatedItems" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 409 - keyword-independence.json: "required + unevaluatedItems" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 410 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 411 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 412 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 413 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 414 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 415 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 416 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 417 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 418 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 419 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 420 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 421 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 422 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 423 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 424 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 425 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 426 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 427 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 428 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 429 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 430 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 431 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 432 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 433 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 434 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 435 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 436 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 437 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 438 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 439 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 440 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 441 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 442 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 443 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 444 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 445 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 446 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 447 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 448 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 449 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 450 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 451 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 452 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 453 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 454 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 455 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 456 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 457 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 458 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 459 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 460 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 461 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 462 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is not valid against any item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/contains" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 463 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 464 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 465 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 466 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 467 - keyword-independence.json: "items + maxLength" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 468 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 469 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 470 - keyword-independence.json: "items + minLength" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 471 - keyword-independence.json: "items + minLength" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 472 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 473 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 474 - keyword-independence.json: "items + pattern" - "array, items invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/items/0" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 475 - keyword-independence.json: "items + pattern" - "array, items valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 476 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 477 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 478 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 479 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 480 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 481 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 482 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 483 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 484 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 485 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 486 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has more than 1 item", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 487 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 488 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 489 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 490 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 491 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 492 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 493 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 494 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 495 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 496 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 497 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 498 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "array has fewer than 2 items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 499 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 500 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 501 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 502 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 503 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 504 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 505 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 506 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 507 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 508 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 509 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 510 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional item not permitted", 437s # "instanceLocation": "/0", 437s # "keywordLocation": "/unevaluatedItems" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 511 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 512 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 513 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 514 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 515 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 516 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 517 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 518 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 519 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 520 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 521 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 522 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "items at indices 0 and 1 are not unique", 437s # "instanceLocation": "", 437s # "keywordLocation": "/uniqueItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 523 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 524 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 525 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 526 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 527 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 528 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 529 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 530 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 531 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 532 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 533 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 534 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 535 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 536 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 537 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 538 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 539 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 540 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 541 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 542 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 543 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 544 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 545 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 546 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 547 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 548 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 549 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 550 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 551 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 552 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 553 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 554 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 555 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 556 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 557 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 558 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 559 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 560 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 561 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 562 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 563 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 564 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 565 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 566 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 567 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 568 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 569 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 570 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 571 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 572 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 573 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 574 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 575 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 576 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 577 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 578 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 579 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 580 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 581 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 582 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 583 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 584 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 585 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 586 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 587 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 588 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 589 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 590 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 591 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 592 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 593 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 594 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 595 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 596 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 597 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 598 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 599 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 600 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 601 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 602 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 603 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 604 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 605 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 606 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 607 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 608 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 609 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 610 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 611 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 612 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 613 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 614 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 615 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 616 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 617 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 618 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 619 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 620 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 621 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 622 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 623 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 624 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 625 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 626 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 627 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 628 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 629 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 630 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 631 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 632 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 633 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 634 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 635 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 636 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 637 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 638 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 639 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 640 - keyword-independence.json: "maximum + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 641 - keyword-independence.json: "maximum + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 642 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 643 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 644 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 645 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 646 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 647 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 648 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 649 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 650 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 651 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 652 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 653 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 654 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 655 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 656 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 657 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 658 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 659 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 660 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 661 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 662 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 663 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 664 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 665 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 666 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 667 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 668 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 669 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 670 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 671 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 672 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 673 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 674 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 675 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 676 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 677 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 678 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 679 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 680 - keyword-independence.json: "minimum + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 681 - keyword-independence.json: "minimum + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 682 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 683 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 684 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 685 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 686 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 687 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 688 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 689 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 690 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 691 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 692 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 693 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 694 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 695 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 696 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 697 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 698 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 699 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 700 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 701 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 702 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 703 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 704 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 705 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 706 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 707 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 708 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 709 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 710 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 711 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 712 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 713 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 714 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 715 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 716 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 717 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 718 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 719 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 720 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 721 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 722 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 723 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 724 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 725 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 726 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 727 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 728 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 729 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 730 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 731 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 732 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 733 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 734 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMaximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 735 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 736 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 737 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 738 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 739 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 740 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 741 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 742 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 743 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 744 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 745 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 746 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than or equal to 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/exclusiveMinimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 747 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 748 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 749 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 750 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 751 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 752 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 753 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 754 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 755 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 756 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 757 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 758 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 759 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 760 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 761 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 762 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 763 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 764 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 765 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 766 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 767 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 768 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 769 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 770 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minimum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 771 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 772 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 773 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 774 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 775 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 776 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 777 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 778 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 779 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 780 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 781 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 782 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/multipleOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 783 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 784 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 785 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 786 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 787 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 788 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 789 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 790 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 791 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 792 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 793 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 794 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/additionalProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 795 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 796 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 797 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 798 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 799 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 800 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 801 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 802 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 803 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 804 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 805 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 806 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: y", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentRequired" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 807 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 808 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 809 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 810 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 811 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 812 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 813 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 814 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 815 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 816 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 817 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 818 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas/x" 437s # }, 437s # { 437s # "error": "not all dependencies are satisfied", 437s # "instanceLocation": "", 437s # "keywordLocation": "/dependentSchemas" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 819 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 820 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 821 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 822 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 823 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 824 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 825 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 826 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 827 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 828 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 829 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 830 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has more than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 831 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 832 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 833 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 834 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 835 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 836 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 837 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 838 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 839 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 840 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 841 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 842 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object has fewer than 1 property", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 843 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 844 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 845 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 846 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 847 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 848 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 849 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 850 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 851 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 852 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 853 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 854 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/no", 437s # "keywordLocation": "/patternProperties/no" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 855 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 856 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 857 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 858 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 859 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 860 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 861 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 862 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 863 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 864 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 865 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 866 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/properties/x" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 867 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 868 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 869 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 870 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 871 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 872 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 873 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 874 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 875 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 876 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 877 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 878 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "subschema is false", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/propertyNames" 437s # }, 437s # { 437s # "error": "not all property names are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/propertyNames" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 879 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 880 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 881 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 882 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 883 - keyword-independence.json: "maxLength + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 884 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 885 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 886 - keyword-independence.json: "minLength + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 887 - keyword-independence.json: "minLength + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 888 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 889 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 890 - keyword-independence.json: "pattern + required" - "object, required invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "object is missing property: x", 437s # "instanceLocation": "", 437s # "keywordLocation": "/required" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 891 - keyword-independence.json: "pattern + required" - "object, required valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 892 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 893 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 894 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 895 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 896 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is greater than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/maxLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 897 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 898 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 899 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 900 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "length is less than 2", 437s # "instanceLocation": "", 437s # "keywordLocation": "/minLength" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 901 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 902 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "additional property not permitted", 437s # "instanceLocation": "/x", 437s # "keywordLocation": "/unevaluatedProperties" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 903 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 904 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "pattern does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/pattern" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 905 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s # 437s ok 906 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/const_string", 437s # "keywordLocation": "/properties/const_string/const" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/const_string", 437s # "keywordLocation": "/properties/const_string/const" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 907 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 908 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 909 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/const_number", 437s # "keywordLocation": "/properties/const_number/const" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/const_number", 437s # "keywordLocation": "/properties/const_number/const" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 910 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/enum_string", 437s # "keywordLocation": "/properties/enum_string/enum" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/enum_string", 437s # "keywordLocation": "/properties/enum_string/enum" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 911 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 912 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 913 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/enum_number", 437s # "keywordLocation": "/properties/enum_number/enum" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "/enum_number", 437s # "keywordLocation": "/properties/enum_number/enum" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 914 - recursive-dynamic.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "numeric node" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 915 - recursive-dynamic.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "integer node" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "integerNode.json#/type", 437s # "error": "got number, not one of object, integer", 437s # "instanceLocation": "/november", 437s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else/$ref/additionalProperties" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "main.json#/else", 437s # "error": "subschema is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "integerNode.json#/type", 437s # "error": "got number, not one of object, integer", 437s # "instanceLocation": "/november", 437s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else/$ref/additionalProperties" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "main.json#/else", 437s # "error": "subschema is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/else" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 916 - recursive-dynamic.json: "$recursiveRef points to a boolean schema" - "follow $recursiveRef to a true schema" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 917 - recursive-dynamic.json: "$recursiveRef points to a boolean schema" - "follow $recursiveRef to a false schema" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/false", 437s # "error": "subschema is false", 437s # "instanceLocation": "/false", 437s # "keywordLocation": "/properties/false/$recursiveRef" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "#/$defs/false", 437s # "error": "subschema is false", 437s # "instanceLocation": "/false", 437s # "keywordLocation": "/properties/false/$recursiveRef" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s 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" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s 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" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s 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" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s 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" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s 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" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s 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" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 437s # "error": "got string, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf/0/$ref/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 437s # "error": "got string, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf/0/oneOf/0/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf", 437s # "error": "no subschemas are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf/0/oneOf" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 437s # "error": "subschema 0 is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 437s # "error": "got string, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf/0/$ref/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 437s # "error": "subschema 0 is not valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/allOf" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 924 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 925 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 926 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 927 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 437s # "error": "value is greater than 10", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$ref/maximum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 928 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/enum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value does not match", 437s # "instanceLocation": "", 437s # "keywordLocation": "/enum" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 929 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 930 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$defs/foo/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$defs/foo/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 931 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$defs/foo/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "$ref value is not a valid URI reference", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$defs/foo/$ref" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 932 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 933 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 437s # "error": "got string, not integer", 437s # "instanceLocation": "/list/0", 437s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 437s # "error": "subschema is not valid against all items", 437s # "instanceLocation": "/list", 437s # "keywordLocation": "/properties/list/$ref/items" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 437s # "error": "got string, not integer", 437s # "instanceLocation": "/list/0", 437s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 437s # "error": "subschema is not valid against all items", 437s # "instanceLocation": "/list", 437s # "keywordLocation": "/properties/list/$ref/items" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 934 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 935 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/1", 437s # "keywordLocation": "/items/multipleOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/1", 437s # "keywordLocation": "/items/multipleOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 936 - short-circuit.json: "items (array form) does not improperly short-circuit" - "single item is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 937 - short-circuit.json: "items (array form) does not improperly short-circuit" - "second item is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/1", 437s # "keywordLocation": "/items/1/multipleOf" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/1", 437s # "keywordLocation": "/items/1/multipleOf" 437s # }, 437s # { 437s # "error": "not all items are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/items" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 938 - short-circuit.json: "additionalItems does not improperly short-circuit" - "single additional item is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 939 - short-circuit.json: "additionalItems does not improperly short-circuit" - "second additional item is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/2", 437s # "keywordLocation": "/additionalItems/multipleOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/2", 437s # "keywordLocation": "/additionalItems/multipleOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 940 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "single item is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 941 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "second item is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/1", 437s # "keywordLocation": "/unevaluatedItems/multipleOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/1", 437s # "keywordLocation": "/unevaluatedItems/multipleOf" 437s # }, 437s # { 437s # "error": "subschema is not valid against all additional items", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedItems" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 942 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 943 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/properties/beta/multipleOf" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/properties/beta/multipleOf" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 944 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 945 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/properties/beta" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/properties/beta" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/properties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 946 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 947 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/patternProperties/^b/multipleOf" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/patternProperties/^b/multipleOf" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 948 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 949 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/patternProperties/^b" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "property not permitted", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/patternProperties/^b" 437s # }, 437s # { 437s # "error": "not all properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/patternProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 950 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 951 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/additionalProperties/multipleOf" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/additionalProperties/multipleOf" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/additionalProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 952 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "single property is valid" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 953 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "second property is invalid" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/unevaluatedProperties/multipleOf" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "value is not a multiple of 2", 437s # "instanceLocation": "/beta", 437s # "keywordLocation": "/unevaluatedProperties/multipleOf" 437s # }, 437s # { 437s # "error": "not all additional properties are valid", 437s # "instanceLocation": "", 437s # "keywordLocation": "/unevaluatedProperties" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 954 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 955 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "got string, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/type" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "got string, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/type" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 956 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "got object, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/type" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "got object, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/type" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 957 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "got array, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/type" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "got array, not number", 437s # "instanceLocation": "", 437s # "keywordLocation": "/type" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 958 - vocabulary.json: "valid $vocabulary" - "a valid $vocabulary value" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s 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" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 960 - vocabulary.json: "use schema (invalid $vocabulary) as a metaschema" - "invalid $vocabulary value: wrong specification version" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core", 437s # "error": "\"https://json-schema.org/draft/2020-12/vocab/core\" uses draft2020-12, but the metaschema itself uses draft2019-09", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 437s # "error": "the first vocabulary (by evaluation_order) must be Core", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema/$vocabulary" 437s # }, 437s # { 437s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core", 437s # "error": "\"https://json-schema.org/draft/2020-12/vocab/core\" uses draft2020-12, but the metaschema itself uses draft2019-09", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core" 437s # }, 437s # { 437s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 437s # "error": "the first vocabulary (by evaluation_order) must be Core", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema/$vocabulary" 437s # }, 437s # { 437s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 961 - vocabulary.json: "invalid $vocabulary (unknown URI), but not until we evaluate with this metaschema" - "invalid $vocabulary (unknown URI): register this metaschema" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 962 - vocabulary.json: "use schema (unknown URI) as a metaschema" - "invalid $vocabulary value: unknown URI" { 437s # result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 437s # "error": "\"https://foo.com\" is not a known vocabulary", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 437s # }, 437s # { 437s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 437s # "error": "\"https://foo.com\" is not a known vocabulary", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 437s # }, 437s # { 437s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 437s # "instanceLocation": "", 437s # "keywordLocation": "/$schema" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 963 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 964 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 965 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid date-time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid date-time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 966 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid date-time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid date-time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 967 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid date", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid date", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s ok 968 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 969 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 970 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 971 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 972 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 973 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 974 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 975 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 976 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 437s # result: { 437s # "valid": true 437s # } 437s # short-circuited result: { 437s # "valid": true 437s # } 437s ok 1 - test passes: data is valid: true 437s 1..1 437s } 437s ok 977 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 978 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 979 - optional/format-time.json: "validation of time strings" - "no time offset" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s ok 980 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 437s # result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s # short-circuited result: { 437s # "errors": [ 437s # { 437s # "error": "not a valid time", 437s # "instanceLocation": "", 437s # "keywordLocation": "/format" 437s # } 437s # ], 437s # "valid": false 437s # } 437s ok 1 - test passes: data is valid: false 437s 1..1 437s } 437s # 437s # 437s # generated with: Test::JSON::Schema::Acceptance 1.026 437s # specification version: draft2019-09 437s # using custom test directory: t/additional-tests-draft2019-09 437s # optional tests included: yes 437s # 437s # filename pass todo-fail fail 437s # --------------------------------------------------------------- 437s # anchor.json 2 0 0 437s # annotation-collection.json 10 0 0 437s # badRef.json 3 0 0 437s # faux-buggy-schemas.json 2 0 0 437s # format-duration.json 9 0 0 437s # format-ipv4.json 4 0 0 437s # format-ipv6.json 17 0 0 437s # format-relative-json-pointer.json 7 0 0 437s # formats.json 4 0 0 437s # id.json 6 0 0 437s # integers.json 29 0 0 437s # keyword-independence.json 812 0 0 437s # loose-types-const-enum.json 8 0 0 437s # recursive-dynamic.json 4 0 0 437s # ref-and-id.json 6 0 0 437s # ref.json 10 0 0 437s # short-circuit.json 20 0 0 437s # unknownKeyword.json 4 0 0 437s # vocabulary.json 5 0 0 437s # optional/format-date-time.json 4 0 0 437s # optional/format-date.json 1 0 0 437s # optional/format-time.json 13 0 0 437s # --------------------------------------------------------------- 437s # TOTAL 980 0 0 437s # 437s # Congratulations, all non-optional tests are passing! 437s # 437s ok 981 - no leaks in the main evaluator object 437s ok 982 - no leaks in the short-circuiting evaluator object 437s ok 983 - got unsupported keyword warnings 437s 1..983 437s ok 445s t/additional-tests-draft2020-12.t ....... 445s # AUTHOR_TESTING: 445s # AUTOMATED_TESTING: 1 445s # EXTENDED_TESTING: 445s # NO_TODO: 445s # TEST_DIR: 445s # NO_SHORT_CIRCUIT: 445s # 445s # running tests in /tmp/autopkgtest.DjlJoo/autopkgtest_tmp/smoked4Icf7/t/additional-tests-draft2020-12 against draft2020-12... 445s # 445s ok 1 - anchor.json: "non-schema object containing an $anchor property" - "skip traversing definition for a valid result" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 2 - anchor.json: "non-schema object containing an $anchor property" - "const at const_not_anchor does not match" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else/$ref/const" 445s # }, 445s # { 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else/$ref/const" 445s # }, 445s # { 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 3 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "properties evaluated from allOf" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 4 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "extra property" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/bar", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/bar", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 5 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "properties evaluated from additionalProperties" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 6 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "extra property" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/bar", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/bar", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 7 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "properties evaluated from allOf, but unevaluated is buried" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/foo", 445s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "no subschemas are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/foo", 445s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "no subschemas are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 8 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "no properties" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 9 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "properties evaluated from additionalProperties, but unevaluated is buried" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/foo", 445s # "keywordLocation": "/allOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "subschema 0 is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/foo", 445s # "keywordLocation": "/allOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf/0/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "subschema 0 is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 10 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "no properties" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 11 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 12 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/not" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/not" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 13 - badRef.json: "good references in schemas" - "this data is never used" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 14 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 15 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s 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" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 445s # "error": "got string, not null", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref/$dynamicRef/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "main#/then", 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 445s # "error": "got string, not null", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref/$dynamicRef/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "main#/then", 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 445s # "error": "got integer, not null", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref/$dynamicRef/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "main#/then", 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 445s # "error": "got integer, not null", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then/$ref/$dynamicRef/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "main#/then", 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/then" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 19 - dynamicRef.json: "schema in dynamic scope must have a $dynamicAnchor that matches the fragment" - "value would fail under either subschema" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "orig#/minimum", 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$dynamicRef/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "orig#/minimum", 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$dynamicRef/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 21 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a true schema" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 22 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a false schema" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/false", 445s # "error": "subschema is false", 445s # "instanceLocation": "/false", 445s # "keywordLocation": "/properties/false/$dynamicRef" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/false", 445s # "error": "subschema is false", 445s # "instanceLocation": "/false", 445s # "keywordLocation": "/properties/false/$dynamicRef" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 23 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 24 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 445s # "error": "got string, not integer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/0/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 445s # "error": "got string, not integer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/1/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/2/const" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/3/enum" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 445s # "error": "no subschemas are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 445s # "error": "got string, not integer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/0/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 445s # "error": "got string, not integer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/1/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/2/const" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf/3/enum" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 445s # "error": "no subschemas are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/anyOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 25 - format-duration.json: "validation of duration strings" - "years and months can appear without days" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 26 - format-duration.json: "validation of duration strings" - "months and days can appear without years" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 27 - format-duration.json: "validation of duration strings" - "hours and minutes can appear without seconds" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 28 - format-duration.json: "validation of duration strings" - "minutes and seconds can appear without hour" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 29 - format-duration.json: "validation of duration strings" - "elements may be omitted if their value is zero" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 30 - format-duration.json: "validation of duration strings" - "half a year duration, with full stop decimal point" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 31 - format-duration.json: "validation of duration strings" - "half a year duration, with comma decimal point" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 32 - format-duration.json: "validation of duration strings" - "only one unit can have a non-integer quantity" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid duration", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid duration", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 33 - format-duration.json: "validation of duration strings" - "only the smallest unit can have a non-integer quantity" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid duration", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid duration", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 34 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 35 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 36 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 37 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 38 - format-ipv6.json: "validation of ipv6 strings" - "fully expanded with zeroes" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 39 - format-ipv6.json: "validation of ipv6 strings" - "partially collapsed zeroes" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 40 - format-ipv6.json: "validation of ipv6 strings" - "4,2 zeroes" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 41 - format-ipv6.json: "validation of ipv6 strings" - "8 single zeroes, no double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 42 - format-ipv6.json: "validation of ipv6 strings" - "7 single zeroes, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 43 - format-ipv6.json: "validation of ipv6 strings" - "6 single zeroes, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 44 - format-ipv6.json: "validation of ipv6 strings" - "5 single zeroes, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 45 - format-ipv6.json: "validation of ipv6 strings" - "4 single zeroes, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 46 - format-ipv6.json: "validation of ipv6 strings" - "3 single zeroes, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 47 - format-ipv6.json: "validation of ipv6 strings" - "2 single zeroes, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 48 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, leading double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 49 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, trailing double colon" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 50 - format-ipv6.json: "validation of ipv6 strings" - "2 leading colons with 8 zeroes" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 51 - format-ipv6.json: "validation of ipv6 strings" - "1 leading colon with 8 zeroes" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 52 - format-ipv6.json: "validation of ipv6 strings" - "colons in the middle with 8 zeroes" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 53 - format-ipv6.json: "validation of ipv6 strings" - "1 trailing colon with 8 zeroes" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 54 - format-ipv6.json: "validation of ipv6 strings" - "2 trailing colons with 8 zeroes" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid ipv6", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 55 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 56 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 57 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 58 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 59 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid relative-json-pointer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid relative-json-pointer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 60 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid relative-json-pointer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid relative-json-pointer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 61 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid relative-json-pointer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid relative-json-pointer", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 62 - formats.json: "format validation after a $ref" - "invalid duration" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/my_format/format", 445s # "error": "not a valid duration", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/my_format/format", 445s # "error": "not a valid duration", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 63 - formats.json: "format validation after a $ref" - "valid duration" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 64 - formats.json: "format validation after an $id" - "invalid duration" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 445s # "error": "not a valid duration", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items/allOf/0/format" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "bloop#/allOf", 445s # "error": "subschema 0 is not valid", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items/allOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 445s # "error": "not a valid duration", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items/allOf/0/format" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "bloop#/allOf", 445s # "error": "subschema 0 is not valid", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items/allOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 65 - formats.json: "format validation after an $id" - "valid duration" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s # 445s ok 66 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 67 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else/$ref/const" 445s # }, 445s # { 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else/$ref/const" 445s # }, 445s # { 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 68 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 69 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 70 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 71 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$id cannot be empty", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$id" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 72 - integers.json: "type checks" - "beyond int64 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 73 - integers.json: "type checks" - "int64 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 74 - integers.json: "type checks" - "beyond int32 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 75 - integers.json: "type checks" - "int32 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 76 - integers.json: "type checks" - "zero" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 77 - integers.json: "type checks" - "int32 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 78 - integers.json: "type checks" - "beyond int32 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 79 - integers.json: "type checks" - "upper int64 boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 80 - integers.json: "type checks" - "beyond int64 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 81 - integers.json: "int32 range checks" - "beyond lower boundary" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than -2147483648", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than -2147483648", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 82 - integers.json: "int32 range checks" - "lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 83 - integers.json: "int32 range checks" - "zero" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 84 - integers.json: "int32 range checks" - "upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 85 - integers.json: "int32 range checks" - "beyond upper boundary" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2147483647", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2147483647", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 86 - integers.json: "int64 range checks" - "beyond lower boundary" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than -9223372036854775808", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than -9223372036854775808", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 87 - integers.json: "int64 range checks" - "lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 88 - integers.json: "int64 range checks" - "zero" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 89 - integers.json: "int64 range checks" - "upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 90 - integers.json: "int64 range checks" - "beyond upper boundary" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 9223372036854775807", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 9223372036854775807", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 91 - integers.json: "equality checks" - "beyond int64 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 92 - integers.json: "equality checks" - "int64 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 93 - integers.json: "equality checks" - "beyond int32 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 94 - integers.json: "equality checks" - "int32 lower boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 95 - integers.json: "equality checks" - "zero" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 96 - integers.json: "equality checks" - "one" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/enum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/enum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 97 - integers.json: "equality checks" - "int32 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 98 - integers.json: "equality checks" - "beyond int32 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 99 - integers.json: "equality checks" - "int64 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 100 - integers.json: "equality checks" - "beyond int64 upper boundary" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s # 445s ok 101 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 102 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 103 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 104 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 105 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 106 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 107 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 108 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 109 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 110 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 111 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 112 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 113 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 114 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 115 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 116 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 117 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 118 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 119 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 120 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 121 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 122 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 123 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 124 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 125 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 126 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 127 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 128 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 129 - keyword-independence.json: "items + maximum" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 130 - keyword-independence.json: "items + maximum" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 131 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 132 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 133 - keyword-independence.json: "items + minimum" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 134 - keyword-independence.json: "items + minimum" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 135 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 136 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 137 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 138 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 139 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 140 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 141 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 142 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 143 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 144 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 145 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 146 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 147 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 148 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 149 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 150 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 151 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 152 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 153 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 154 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 155 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 156 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 157 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 158 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 159 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 160 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 161 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 162 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 163 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 164 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 165 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 166 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 167 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 168 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 169 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 170 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 171 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 172 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 173 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 174 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 175 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 176 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 177 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 178 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 179 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 180 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 181 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 182 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 183 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 184 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 185 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 186 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 187 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 188 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 189 - keyword-independence.json: "maximum + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 190 - keyword-independence.json: "maximum + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 191 - keyword-independence.json: "maximum + prefixItems" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 192 - keyword-independence.json: "maximum + prefixItems" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 193 - keyword-independence.json: "minimum + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 194 - keyword-independence.json: "minimum + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 195 - keyword-independence.json: "minimum + prefixItems" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 196 - keyword-independence.json: "minimum + prefixItems" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 197 - keyword-independence.json: "multipleOf + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 198 - keyword-independence.json: "multipleOf + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 199 - keyword-independence.json: "multipleOf + prefixItems" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 200 - keyword-independence.json: "multipleOf + prefixItems" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 201 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 202 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 203 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 204 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 205 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 206 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 207 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 208 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 209 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 210 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 211 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 212 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 213 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 214 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 215 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 216 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 217 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 218 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 219 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 220 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 221 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 222 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 223 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 224 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 225 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 226 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 227 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 228 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 229 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 230 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 231 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 232 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 233 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 234 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 235 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 236 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 237 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 238 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 239 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 240 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 241 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 242 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 243 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 244 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 245 - keyword-independence.json: "contains + dependentRequired" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 246 - keyword-independence.json: "contains + dependentRequired" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 247 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 248 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 249 - keyword-independence.json: "contains + dependentSchemas" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 250 - keyword-independence.json: "contains + dependentSchemas" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 251 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 252 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 253 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 254 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 255 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 256 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 257 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 258 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 259 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 260 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 261 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 262 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 263 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 264 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 265 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 266 - keyword-independence.json: "contains + properties" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 267 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 268 - keyword-independence.json: "contains + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 269 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 270 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 271 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 272 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 273 - keyword-independence.json: "contains + required" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 274 - keyword-independence.json: "contains + required" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 275 - keyword-independence.json: "contains + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 276 - keyword-independence.json: "contains + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 277 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 278 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 279 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 280 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 281 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 282 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 283 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 284 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 285 - keyword-independence.json: "dependentRequired + items" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 286 - keyword-independence.json: "dependentRequired + items" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 287 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 288 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 289 - keyword-independence.json: "dependentSchemas + items" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 290 - keyword-independence.json: "dependentSchemas + items" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 291 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 292 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 293 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 294 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 295 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 296 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 297 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 298 - keyword-independence.json: "items + minProperties" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 299 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 300 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 301 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 302 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 303 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 304 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 305 - keyword-independence.json: "items + properties" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 306 - keyword-independence.json: "items + properties" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 307 - keyword-independence.json: "items + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 308 - keyword-independence.json: "items + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 309 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 310 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 311 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 312 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 313 - keyword-independence.json: "items + required" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 314 - keyword-independence.json: "items + required" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 315 - keyword-independence.json: "items + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 316 - keyword-independence.json: "items + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 317 - keyword-independence.json: "items + unevaluatedProperties" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 318 - keyword-independence.json: "items + unevaluatedProperties" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 319 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 320 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 321 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 322 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 323 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 324 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 325 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 326 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 327 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 328 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 329 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 330 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 331 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 332 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 333 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 334 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 335 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 336 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 337 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 338 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 339 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 340 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 341 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 342 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 343 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 344 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 345 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 346 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 347 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 348 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 349 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 350 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 351 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 352 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 353 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 354 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 355 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 356 - keyword-independence.json: "maxItems + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 357 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 358 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 359 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 360 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 361 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 362 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 363 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 364 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 365 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 366 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 367 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 368 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 369 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 370 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 371 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 372 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 373 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 374 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 375 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 376 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 377 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 378 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 379 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 380 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 381 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 382 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 383 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 384 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 385 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 386 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 387 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 388 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 389 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 390 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 391 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 392 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 393 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 394 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 395 - keyword-independence.json: "minItems + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 396 - keyword-independence.json: "minItems + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 397 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 398 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 399 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 400 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 401 - keyword-independence.json: "additionalProperties + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 402 - keyword-independence.json: "additionalProperties + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 403 - keyword-independence.json: "additionalProperties + prefixItems" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 404 - keyword-independence.json: "additionalProperties + prefixItems" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 405 - keyword-independence.json: "dependentRequired + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 406 - keyword-independence.json: "dependentRequired + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 407 - keyword-independence.json: "dependentRequired + prefixItems" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 408 - keyword-independence.json: "dependentRequired + prefixItems" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 409 - keyword-independence.json: "dependentSchemas + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 410 - keyword-independence.json: "dependentSchemas + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 411 - keyword-independence.json: "dependentSchemas + prefixItems" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 412 - keyword-independence.json: "dependentSchemas + prefixItems" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 413 - keyword-independence.json: "maxProperties + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 414 - keyword-independence.json: "maxProperties + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 415 - keyword-independence.json: "maxProperties + prefixItems" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 416 - keyword-independence.json: "maxProperties + prefixItems" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 417 - keyword-independence.json: "minProperties + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 418 - keyword-independence.json: "minProperties + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 419 - keyword-independence.json: "minProperties + prefixItems" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 420 - keyword-independence.json: "minProperties + prefixItems" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 421 - keyword-independence.json: "patternProperties + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 422 - keyword-independence.json: "patternProperties + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 423 - keyword-independence.json: "patternProperties + prefixItems" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 424 - keyword-independence.json: "patternProperties + prefixItems" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 425 - keyword-independence.json: "prefixItems + properties" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 426 - keyword-independence.json: "prefixItems + properties" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 427 - keyword-independence.json: "prefixItems + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 428 - keyword-independence.json: "prefixItems + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 429 - keyword-independence.json: "prefixItems + propertyNames" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 430 - keyword-independence.json: "prefixItems + propertyNames" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 431 - keyword-independence.json: "prefixItems + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 432 - keyword-independence.json: "prefixItems + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 433 - keyword-independence.json: "prefixItems + required" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 434 - keyword-independence.json: "prefixItems + required" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 435 - keyword-independence.json: "prefixItems + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 436 - keyword-independence.json: "prefixItems + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 437 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 438 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 439 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 440 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 441 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 442 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 443 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 444 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 445 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 446 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 447 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 448 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 449 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 450 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 451 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 452 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 453 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 454 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 455 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 456 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 457 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 458 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 459 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 460 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 461 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 462 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 463 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 464 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 465 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 466 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 467 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 468 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 469 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 470 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 471 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 472 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 473 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 474 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 475 - keyword-independence.json: "required + unevaluatedItems" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 476 - keyword-independence.json: "required + unevaluatedItems" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 477 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 478 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 479 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 480 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 481 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 482 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 483 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 484 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 485 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 486 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 487 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 488 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 489 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 490 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 491 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 492 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 493 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 494 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 495 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 496 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 497 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 498 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 499 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 500 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 501 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 502 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 503 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 504 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 505 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 506 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 507 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 508 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 509 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 510 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 511 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 512 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 513 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 514 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 515 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 516 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 517 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 518 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 519 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 520 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 521 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 522 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 523 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 524 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 525 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 526 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 527 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 528 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 529 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is not valid against any item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/contains" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 530 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 531 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 532 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 533 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 534 - keyword-independence.json: "items + maxLength" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 535 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 536 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 537 - keyword-independence.json: "items + minLength" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 538 - keyword-independence.json: "items + minLength" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 539 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 540 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 541 - keyword-independence.json: "items + pattern" - "array, items invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/items" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 542 - keyword-independence.json: "items + pattern" - "array, items valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 543 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 544 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 545 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 546 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 547 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 548 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 549 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 550 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 551 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 552 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 553 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has more than 1 item", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 554 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 555 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 556 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 557 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 558 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 559 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 560 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 561 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 562 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 563 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 564 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 565 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "array has fewer than 2 items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 566 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 567 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 568 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 569 - keyword-independence.json: "maxLength + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 570 - keyword-independence.json: "maxLength + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 571 - keyword-independence.json: "maxLength + prefixItems" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 572 - keyword-independence.json: "maxLength + prefixItems" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 573 - keyword-independence.json: "minLength + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 574 - keyword-independence.json: "minLength + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 575 - keyword-independence.json: "minLength + prefixItems" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 576 - keyword-independence.json: "minLength + prefixItems" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 577 - keyword-independence.json: "pattern + prefixItems" - "array, prefixItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/prefixItems/0" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 578 - keyword-independence.json: "pattern + prefixItems" - "array, prefixItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 579 - keyword-independence.json: "pattern + prefixItems" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 580 - keyword-independence.json: "pattern + prefixItems" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 581 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 582 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 583 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 584 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 585 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 586 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 587 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 588 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 589 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional item not permitted", 445s # "instanceLocation": "/0", 445s # "keywordLocation": "/unevaluatedItems" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 590 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 591 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 592 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 593 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 594 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 595 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 596 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 597 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 598 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 599 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 600 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 601 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "items at indices 0 and 1 are not unique", 445s # "instanceLocation": "", 445s # "keywordLocation": "/uniqueItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 602 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 603 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 604 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 605 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 606 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 607 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 608 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 609 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 610 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 611 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 612 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 613 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 614 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 615 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 616 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 617 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 618 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 619 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 620 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 621 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 622 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 623 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 624 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 625 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 626 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 627 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 628 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 629 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 630 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 631 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 632 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 633 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 634 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 635 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 636 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 637 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 638 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 639 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 640 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 641 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 642 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 643 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 644 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 645 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 646 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 647 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 648 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 649 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 650 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 651 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 652 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 653 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 654 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 655 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 656 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 657 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 658 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 659 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 660 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 661 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 662 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 663 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 664 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 665 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 666 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 667 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 668 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 669 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 670 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 671 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 672 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 673 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 674 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 675 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 676 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 677 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 678 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 679 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 680 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 681 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 682 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 683 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 684 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 685 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 686 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 687 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 688 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 689 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 690 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 691 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 692 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 693 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 694 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 695 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 696 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 697 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 698 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 699 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 700 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 701 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 702 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 703 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 704 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 705 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 706 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 707 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 708 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 709 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 710 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 711 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 712 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 713 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 714 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 715 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 716 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 717 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 718 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 719 - keyword-independence.json: "maximum + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 720 - keyword-independence.json: "maximum + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 721 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 722 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 723 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 724 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 725 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 726 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 727 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 728 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 729 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 730 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 731 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 732 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 733 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 734 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 735 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 736 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 737 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 738 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 739 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 740 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 741 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 742 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 743 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 744 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 745 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 746 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 747 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 748 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 749 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 750 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 751 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 752 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 753 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 754 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 755 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 756 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 757 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 758 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 759 - keyword-independence.json: "minimum + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 760 - keyword-independence.json: "minimum + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 761 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 762 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 763 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 764 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 765 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 766 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 767 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 768 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 769 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 770 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 771 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 772 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 773 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 774 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 775 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 776 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 777 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 778 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 779 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 780 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 781 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 782 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 783 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 784 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 785 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 786 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 787 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 788 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 789 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 790 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 791 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 792 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 793 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 794 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 795 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 796 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 797 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 798 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 799 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 800 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 801 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 802 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 803 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 804 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 805 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 806 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 807 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 808 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 809 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 810 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 811 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 812 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 813 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMaximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 814 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 815 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 816 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 817 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 818 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 819 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 820 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 821 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 822 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 823 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 824 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 825 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than or equal to 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/exclusiveMinimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 826 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 827 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 828 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 829 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 830 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 831 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 832 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 833 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 834 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 835 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 836 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 837 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 838 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 839 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 840 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 841 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 842 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 843 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 844 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 845 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 846 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 847 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 848 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 849 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minimum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 850 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 851 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 852 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 853 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 854 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 855 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 856 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 857 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 858 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 859 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 860 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 861 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/multipleOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 862 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 863 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 864 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 865 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 866 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 867 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 868 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 869 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 870 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 871 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 872 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 873 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/additionalProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 874 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 875 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 876 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 877 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 878 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 879 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 880 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 881 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 882 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 883 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 884 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 885 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: y", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentRequired" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 886 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 887 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 888 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 889 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 890 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 891 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 892 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 893 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 894 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 895 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 896 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 897 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas/x" 445s # }, 445s # { 445s # "error": "not all dependencies are satisfied", 445s # "instanceLocation": "", 445s # "keywordLocation": "/dependentSchemas" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 898 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 899 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 900 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 901 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 902 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 903 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 904 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 905 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 906 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 907 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 908 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 909 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has more than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 910 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 911 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 912 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 913 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 914 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 915 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 916 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 917 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 918 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 919 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 920 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 921 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object has fewer than 1 property", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 922 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 923 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 924 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 925 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 926 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 927 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 928 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 929 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 930 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 931 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 932 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 933 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/no", 445s # "keywordLocation": "/patternProperties/no" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 934 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 935 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 936 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 937 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 938 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 939 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 940 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 941 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 942 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 943 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 944 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 945 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/properties/x" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 946 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 947 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 948 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 949 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 950 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 951 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 952 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 953 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 954 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 955 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 956 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 957 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "subschema is false", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/propertyNames" 445s # }, 445s # { 445s # "error": "not all property names are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/propertyNames" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 958 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 959 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 960 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 961 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 962 - keyword-independence.json: "maxLength + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 963 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 964 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 965 - keyword-independence.json: "minLength + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 966 - keyword-independence.json: "minLength + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 967 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 968 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 969 - keyword-independence.json: "pattern + required" - "object, required invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "object is missing property: x", 445s # "instanceLocation": "", 445s # "keywordLocation": "/required" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 970 - keyword-independence.json: "pattern + required" - "object, required valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 971 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 972 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 973 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 974 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 975 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is greater than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/maxLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 976 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 977 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 978 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 979 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "length is less than 2", 445s # "instanceLocation": "", 445s # "keywordLocation": "/minLength" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 980 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 981 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "additional property not permitted", 445s # "instanceLocation": "/x", 445s # "keywordLocation": "/unevaluatedProperties" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 982 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 983 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "pattern does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/pattern" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 984 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s # 445s ok 985 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/const_string", 445s # "keywordLocation": "/properties/const_string/const" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/const_string", 445s # "keywordLocation": "/properties/const_string/const" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 986 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 987 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 988 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/const_number", 445s # "keywordLocation": "/properties/const_number/const" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/const_number", 445s # "keywordLocation": "/properties/const_number/const" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 989 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/enum_string", 445s # "keywordLocation": "/properties/enum_string/enum" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/enum_string", 445s # "keywordLocation": "/properties/enum_string/enum" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 990 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 991 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 992 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/enum_number", 445s # "keywordLocation": "/properties/enum_number/enum" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "/enum_number", 445s # "keywordLocation": "/properties/enum_number/enum" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 993 - recursive-dynamic.json: "dynamic $dynamicRef destination (not predictable at schema compile time)" - "numeric node" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 994 - recursive-dynamic.json: "dynamic $dynamicRef destination (not predictable at schema compile time)" - "integer node" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "integerNode.json#/type", 445s # "error": "got number, not one of object, integer", 445s # "instanceLocation": "/november", 445s # "keywordLocation": "/else/$ref/additionalProperties/$dynamicRef/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else/$ref/additionalProperties" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "main.json#/else", 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "integerNode.json#/type", 445s # "error": "got number, not one of object, integer", 445s # "instanceLocation": "/november", 445s # "keywordLocation": "/else/$ref/additionalProperties/$dynamicRef/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else/$ref/additionalProperties" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "main.json#/else", 445s # "error": "subschema is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/else" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s 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" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 445s # "error": "got string, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf/0/$ref/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 445s # "error": "got string, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf/0/oneOf/0/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf", 445s # "error": "no subschemas are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf/0/oneOf" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 445s # "error": "subschema 0 is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 445s # "error": "got string, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf/0/$ref/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 445s # "error": "subschema 0 is not valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/allOf" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1001 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1002 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1003 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1004 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 445s # "error": "value is greater than 10", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$ref/maximum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1005 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/enum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value does not match", 445s # "instanceLocation": "", 445s # "keywordLocation": "/enum" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1006 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1007 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$defs/foo/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$defs/foo/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1008 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$defs/foo/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "$ref value is not a valid URI reference", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$defs/foo/$ref" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1009 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1010 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 445s # "error": "got string, not integer", 445s # "instanceLocation": "/list/0", 445s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "/list", 445s # "keywordLocation": "/properties/list/$ref/items" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 445s # "error": "got string, not integer", 445s # "instanceLocation": "/list/0", 445s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "/list", 445s # "keywordLocation": "/properties/list/$ref/items" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1011 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1012 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/1", 445s # "keywordLocation": "/items/multipleOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/1", 445s # "keywordLocation": "/items/multipleOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1013 - short-circuit.json: "prefixItems does not improperly short-circuit" - "single item is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1014 - short-circuit.json: "prefixItems does not improperly short-circuit" - "second item is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/1", 445s # "keywordLocation": "/prefixItems/1/multipleOf" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/1", 445s # "keywordLocation": "/prefixItems/1/multipleOf" 445s # }, 445s # { 445s # "error": "not all items are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/prefixItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1015 - short-circuit.json: "items does not improperly short-circuit" - "single additional item is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1016 - short-circuit.json: "items does not improperly short-circuit" - "second additional item is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/2", 445s # "keywordLocation": "/items/multipleOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/2", 445s # "keywordLocation": "/items/multipleOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/items" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1017 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "single item is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1018 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "second item is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/1", 445s # "keywordLocation": "/unevaluatedItems/multipleOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/1", 445s # "keywordLocation": "/unevaluatedItems/multipleOf" 445s # }, 445s # { 445s # "error": "subschema is not valid against all additional items", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedItems" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1019 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1020 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/properties/beta/multipleOf" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/properties/beta/multipleOf" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1021 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1022 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/properties/beta" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/properties/beta" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/properties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1023 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1024 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/patternProperties/^b/multipleOf" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/patternProperties/^b/multipleOf" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1025 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1026 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/patternProperties/^b" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "property not permitted", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/patternProperties/^b" 445s # }, 445s # { 445s # "error": "not all properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/patternProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1027 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1028 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/additionalProperties/multipleOf" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/additionalProperties/multipleOf" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/additionalProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1029 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "single property is valid" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1030 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "second property is invalid" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/unevaluatedProperties/multipleOf" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "value is not a multiple of 2", 445s # "instanceLocation": "/beta", 445s # "keywordLocation": "/unevaluatedProperties/multipleOf" 445s # }, 445s # { 445s # "error": "not all additional properties are valid", 445s # "instanceLocation": "", 445s # "keywordLocation": "/unevaluatedProperties" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1031 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1032 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "got string, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/type" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "got string, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/type" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1033 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "got object, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/type" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "got object, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/type" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1034 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "got array, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/type" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "got array, not number", 445s # "instanceLocation": "", 445s # "keywordLocation": "/type" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1035 - vocabulary.json: "valid $vocabulary" - "a valid $vocabulary value" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s 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" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1037 - vocabulary.json: "use schema (invalid $vocabulary) as a metaschema" - "invalid $vocabulary value: wrong specification version" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core", 445s # "error": "\"https://json-schema.org/draft/2019-09/vocab/core\" uses draft2019-09, but the metaschema itself uses draft2020-12", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 445s # "error": "the first vocabulary (by evaluation_order) must be Core", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema/$vocabulary" 445s # }, 445s # { 445s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core", 445s # "error": "\"https://json-schema.org/draft/2019-09/vocab/core\" uses draft2019-09, but the metaschema itself uses draft2020-12", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core" 445s # }, 445s # { 445s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 445s # "error": "the first vocabulary (by evaluation_order) must be Core", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema/$vocabulary" 445s # }, 445s # { 445s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1038 - vocabulary.json: "invalid $vocabulary (unknown URI), but not until we evaluate with this metaschema" - "invalid $vocabulary (unknown URI): register this metaschema" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1039 - vocabulary.json: "use schema (unknown URI) as a metaschema" - "invalid $vocabulary value: unknown URI" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 445s # "error": "\"https://foo.com\" is not a known vocabulary", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 445s # }, 445s # { 445s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 445s # "error": "\"https://foo.com\" is not a known vocabulary", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 445s # }, 445s # { 445s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 445s # "instanceLocation": "", 445s # "keywordLocation": "/$schema" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1040 - vocabulary.json: "custom metaschema with format-assertion: false" - "custom metaschema is loaded" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1041 - vocabulary.json: "custom metaschema with format-assertion: true" - "custom metaschema is loaded" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1042 - vocabulary.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: valid string" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1043 - vocabulary.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: invalid string" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1044 - vocabulary.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: valid string" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1045 - vocabulary.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: invalid string" { 445s # result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 445s # "error": "not a valid ipv4", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1046 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1047 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1048 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid date-time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid date-time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1049 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid date-time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid date-time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1050 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid date", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid date", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s ok 1051 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1052 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1053 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1054 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1055 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1056 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1057 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1058 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1059 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 445s # result: { 445s # "valid": true 445s # } 445s # short-circuited result: { 445s # "valid": true 445s # } 445s ok 1 - test passes: data is valid: true 445s 1..1 445s } 445s ok 1060 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1061 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1062 - optional/format-time.json: "validation of time strings" - "no time offset" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s ok 1063 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 445s # result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s # short-circuited result: { 445s # "errors": [ 445s # { 445s # "error": "not a valid time", 445s # "instanceLocation": "", 445s # "keywordLocation": "/format" 445s # } 445s # ], 445s # "valid": false 445s # } 445s ok 1 - test passes: data is valid: false 445s 1..1 445s } 445s # 445s # 445s # generated with: Test::JSON::Schema::Acceptance 1.026 445s # specification version: draft2020-12 445s # using custom test directory: t/additional-tests-draft2020-12 445s # optional tests included: yes 445s # 445s # filename pass todo-fail fail 445s # --------------------------------------------------------------- 445s # anchor.json 2 0 0 445s # annotation-collection.json 10 0 0 445s # badRef.json 3 0 0 445s # dynamicRef.json 7 0 0 445s # faux-buggy-schemas.json 2 0 0 445s # format-duration.json 9 0 0 445s # format-ipv4.json 4 0 0 445s # format-ipv6.json 17 0 0 445s # format-relative-json-pointer.json 7 0 0 445s # formats.json 4 0 0 445s # id.json 6 0 0 445s # integers.json 29 0 0 445s # keyword-independence.json 884 0 0 445s # loose-types-const-enum.json 8 0 0 445s # recursive-dynamic.json 2 0 0 445s # ref-and-id.json 6 0 0 445s # ref.json 10 0 0 445s # short-circuit.json 20 0 0 445s # unknownKeyword.json 4 0 0 445s # vocabulary.json 11 0 0 445s # optional/format-date-time.json 4 0 0 445s # optional/format-date.json 1 0 0 445s # optional/format-time.json 13 0 0 445s # --------------------------------------------------------------- 445s # TOTAL 1063 0 0 445s # 445s # Congratulations, all non-optional tests are passing! 445s # 445s ok 1064 - no leaks in the main evaluator object 445s ok 1065 - no leaks in the short-circuiting evaluator object 445s ok 1066 - got unsupported keyword warnings 445s 1..1066 445s ok 451s t/additional-tests-draft7.t ............. 451s # AUTHOR_TESTING: 451s # AUTOMATED_TESTING: 1 451s # EXTENDED_TESTING: 451s # NO_TODO: 451s # TEST_DIR: 451s # NO_SHORT_CIRCUIT: 451s # 451s # running tests in /tmp/autopkgtest.DjlJoo/autopkgtest_tmp/smoked4Icf7/t/additional-tests-draft7 against draft7... 451s # 451s ok 1 - badRef.json: "good references in schemas" - "this data is never used" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 2 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/then/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/then/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 3 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/then/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/then/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 4 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 5 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 451s # "error": "got string, not integer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/0/type" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 451s # "error": "got string, not integer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/1/type" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/2/const" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/3/enum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 451s # "error": "no subschemas are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 451s # "error": "got string, not integer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/0/type" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 451s # "error": "got string, not integer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/1/type" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/2/const" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf/3/enum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 451s # "error": "no subschemas are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/anyOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 6 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid ipv4", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid ipv4", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 7 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid ipv4", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid ipv4", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 8 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 9 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid ipv4", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid ipv4", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 10 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 11 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 12 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 13 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 14 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid relative-json-pointer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid relative-json-pointer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 15 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid relative-json-pointer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid relative-json-pointer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 16 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid relative-json-pointer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid relative-json-pointer", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 17 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 18 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 19 - id.json: "non-schema object containing an anchor property" - "skip traversing definition for a valid result" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 20 - id.json: "non-schema object containing an anchor property" - "const at const_not_anchor does not match" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 21 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 22 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 23 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 24 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$id cannot be empty", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 25 - id.json: "bad anchor syntax" - "draft7 $id passes through to $anchor" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$id value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$id value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/$id" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 26 - integers.json: "type checks" - "beyond int64 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 27 - integers.json: "type checks" - "int64 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 28 - integers.json: "type checks" - "beyond int32 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 29 - integers.json: "type checks" - "int32 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 30 - integers.json: "type checks" - "zero" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 31 - integers.json: "type checks" - "int32 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 32 - integers.json: "type checks" - "beyond int32 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 33 - integers.json: "type checks" - "upper int64 boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 34 - integers.json: "type checks" - "beyond int64 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 35 - integers.json: "int32 range checks" - "beyond lower boundary" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than -2147483648", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than -2147483648", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 36 - integers.json: "int32 range checks" - "lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 37 - integers.json: "int32 range checks" - "zero" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 38 - integers.json: "int32 range checks" - "upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 39 - integers.json: "int32 range checks" - "beyond upper boundary" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2147483647", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2147483647", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 40 - integers.json: "int64 range checks" - "beyond lower boundary" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than -9223372036854775808", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than -9223372036854775808", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 41 - integers.json: "int64 range checks" - "lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 42 - integers.json: "int64 range checks" - "zero" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 43 - integers.json: "int64 range checks" - "upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 44 - integers.json: "int64 range checks" - "beyond upper boundary" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 9223372036854775807", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 9223372036854775807", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 45 - integers.json: "equality checks" - "beyond int64 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 46 - integers.json: "equality checks" - "int64 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 47 - integers.json: "equality checks" - "beyond int32 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 48 - integers.json: "equality checks" - "int32 lower boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 49 - integers.json: "equality checks" - "zero" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 50 - integers.json: "equality checks" - "one" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/enum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/enum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 51 - integers.json: "equality checks" - "int32 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 52 - integers.json: "equality checks" - "beyond int32 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 53 - integers.json: "equality checks" - "int64 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 54 - integers.json: "equality checks" - "beyond int64 upper boundary" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s # 451s ok 55 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 56 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 57 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 58 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 59 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 60 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 61 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 62 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 63 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 64 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 65 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 66 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 67 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 68 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 69 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 70 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 71 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 72 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 73 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 74 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 75 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 76 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 77 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 78 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 79 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 80 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 81 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 82 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 83 - keyword-independence.json: "items + maximum" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 84 - keyword-independence.json: "items + maximum" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 85 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 86 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 87 - keyword-independence.json: "items + minimum" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 88 - keyword-independence.json: "items + minimum" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 89 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 90 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 91 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 92 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 93 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 94 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 95 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 96 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 97 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 98 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 99 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 100 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 101 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 102 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 103 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 104 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 105 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 106 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 107 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 108 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 109 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 110 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 111 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 112 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 113 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 114 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 115 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 116 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 117 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 118 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 119 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 120 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 121 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 122 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 123 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 124 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 125 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 126 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 127 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 128 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 129 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 130 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 131 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 132 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 133 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 134 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 135 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 136 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 137 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 138 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 139 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 140 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 141 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 142 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 143 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 144 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 145 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 146 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 147 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 148 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 149 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 150 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 151 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 152 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 153 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 154 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 155 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 156 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 157 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 158 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 159 - keyword-independence.json: "contains + dependencies" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 160 - keyword-independence.json: "contains + dependencies" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 161 - keyword-independence.json: "contains + dependencies" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 162 - keyword-independence.json: "contains + dependencies" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 163 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 164 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 165 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 166 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 167 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 168 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 169 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 170 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 171 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 172 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 173 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 174 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 175 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 176 - keyword-independence.json: "contains + properties" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 177 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 178 - keyword-independence.json: "contains + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 179 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 180 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 181 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 182 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 183 - keyword-independence.json: "contains + required" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 184 - keyword-independence.json: "contains + required" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 185 - keyword-independence.json: "contains + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 186 - keyword-independence.json: "contains + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 187 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 188 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 189 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 190 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 191 - keyword-independence.json: "dependencies + items" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 192 - keyword-independence.json: "dependencies + items" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 193 - keyword-independence.json: "dependencies + items" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 194 - keyword-independence.json: "dependencies + items" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 195 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 196 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 197 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 198 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 199 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 200 - keyword-independence.json: "items + minProperties" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 201 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 202 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 203 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 204 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 205 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 206 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 207 - keyword-independence.json: "items + properties" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 208 - keyword-independence.json: "items + properties" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 209 - keyword-independence.json: "items + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 210 - keyword-independence.json: "items + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 211 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 212 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 213 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 214 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 215 - keyword-independence.json: "items + required" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 216 - keyword-independence.json: "items + required" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 217 - keyword-independence.json: "items + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 218 - keyword-independence.json: "items + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 219 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 220 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 221 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 222 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 223 - keyword-independence.json: "dependencies + maxItems" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 224 - keyword-independence.json: "dependencies + maxItems" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 225 - keyword-independence.json: "dependencies + maxItems" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 226 - keyword-independence.json: "dependencies + maxItems" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 227 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 228 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 229 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 230 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 231 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 232 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 233 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 234 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 235 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 236 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 237 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 238 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 239 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 240 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 241 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 242 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 243 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 244 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 245 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 246 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 247 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 248 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 249 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 250 - keyword-independence.json: "maxItems + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 251 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 252 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 253 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 254 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 255 - keyword-independence.json: "dependencies + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 256 - keyword-independence.json: "dependencies + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 257 - keyword-independence.json: "dependencies + minItems" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 258 - keyword-independence.json: "dependencies + minItems" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 259 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 260 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 261 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 262 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 263 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 264 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 265 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 266 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 267 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 268 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 269 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 270 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 271 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 272 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 273 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 274 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 275 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 276 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 277 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 278 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 279 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 280 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 281 - keyword-independence.json: "minItems + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 282 - keyword-independence.json: "minItems + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 283 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 284 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 285 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 286 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 287 - keyword-independence.json: "dependencies + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 288 - keyword-independence.json: "dependencies + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 289 - keyword-independence.json: "dependencies + uniqueItems" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 290 - keyword-independence.json: "dependencies + uniqueItems" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 291 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 292 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 293 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 294 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 295 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 296 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 297 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 298 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 299 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 300 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 301 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 302 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 303 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 304 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 305 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 306 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 307 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 308 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 309 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 310 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 311 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 312 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 313 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 314 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 315 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 316 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 317 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 318 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 319 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 320 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 321 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 322 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 323 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is not valid against any item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/contains" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 324 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 325 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 326 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 327 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 328 - keyword-independence.json: "items + maxLength" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 329 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 330 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 331 - keyword-independence.json: "items + minLength" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 332 - keyword-independence.json: "items + minLength" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 333 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 334 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 335 - keyword-independence.json: "items + pattern" - "array, items invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "item not permitted", 451s # "instanceLocation": "/0", 451s # "keywordLocation": "/items/0" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 336 - keyword-independence.json: "items + pattern" - "array, items valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 337 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 338 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 339 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 340 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 341 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 342 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 343 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 344 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 345 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 346 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 347 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has more than 1 item", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 348 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 349 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 350 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 351 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 352 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 353 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 354 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 355 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 356 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 357 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 358 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 359 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "array has fewer than 2 items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 360 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 361 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 362 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 363 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 364 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 365 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 366 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 367 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 368 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 369 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 370 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 371 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "items at indices 0 and 1 are not unique", 451s # "instanceLocation": "", 451s # "keywordLocation": "/uniqueItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 372 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 373 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 374 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 375 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 376 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 377 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 378 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 379 - keyword-independence.json: "dependencies + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 380 - keyword-independence.json: "dependencies + exclusiveMaximum" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 381 - keyword-independence.json: "dependencies + exclusiveMaximum" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 382 - keyword-independence.json: "dependencies + exclusiveMaximum" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 383 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 384 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 385 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 386 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 387 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 388 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 389 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 390 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 391 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 392 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 393 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 394 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 395 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 396 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 397 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 398 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 399 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 400 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 401 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 402 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 403 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 404 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 405 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 406 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 407 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 408 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 409 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 410 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 411 - keyword-independence.json: "dependencies + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 412 - keyword-independence.json: "dependencies + exclusiveMinimum" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 413 - keyword-independence.json: "dependencies + exclusiveMinimum" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 414 - keyword-independence.json: "dependencies + exclusiveMinimum" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 415 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 416 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 417 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 418 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 419 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 420 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 421 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 422 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 423 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 424 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 425 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 426 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 427 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 428 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 429 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 430 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 431 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 432 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 433 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 434 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 435 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 436 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 437 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 438 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 439 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 440 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 441 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 442 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 443 - keyword-independence.json: "dependencies + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 444 - keyword-independence.json: "dependencies + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 445 - keyword-independence.json: "dependencies + maximum" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 446 - keyword-independence.json: "dependencies + maximum" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 447 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 448 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 449 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 450 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 451 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 452 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 453 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 454 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 455 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 456 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 457 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 458 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 459 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 460 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 461 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 462 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 463 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 464 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 465 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 466 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 467 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 468 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 469 - keyword-independence.json: "maximum + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 470 - keyword-independence.json: "maximum + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 471 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 472 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 473 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 474 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 475 - keyword-independence.json: "dependencies + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 476 - keyword-independence.json: "dependencies + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 477 - keyword-independence.json: "dependencies + minimum" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 478 - keyword-independence.json: "dependencies + minimum" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 479 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 480 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 481 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 482 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 483 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 484 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 485 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 486 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 487 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 488 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 489 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 490 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 491 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 492 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 493 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 494 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 495 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 496 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 497 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 498 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 499 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 500 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 501 - keyword-independence.json: "minimum + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 502 - keyword-independence.json: "minimum + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 503 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 504 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 505 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 506 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 507 - keyword-independence.json: "dependencies + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 508 - keyword-independence.json: "dependencies + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 509 - keyword-independence.json: "dependencies + multipleOf" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 510 - keyword-independence.json: "dependencies + multipleOf" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 511 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 512 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 513 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 514 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 515 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 516 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 517 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 518 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 519 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 520 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 521 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 522 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 523 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 524 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 525 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 526 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 527 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 528 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 529 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 530 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 531 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 532 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 533 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 534 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 535 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 536 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 537 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 538 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 539 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 540 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 541 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 542 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 543 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMaximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 544 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 545 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 546 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 547 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 548 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 549 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 550 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 551 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 552 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 553 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 554 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 555 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than or equal to 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/exclusiveMinimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 556 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 557 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 558 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 559 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 560 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 561 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 562 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 563 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 564 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 565 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 566 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 567 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maximum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 568 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 569 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 570 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 571 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 572 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 573 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 574 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 575 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 576 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 577 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 578 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 579 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minimum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 580 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 581 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 582 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 583 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 584 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 585 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 586 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 587 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 588 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 589 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 590 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 591 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/multipleOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 592 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 593 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 594 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 595 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 596 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 597 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 598 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 599 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 600 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 601 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 602 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 603 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 604 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 605 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 606 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 607 - keyword-independence.json: "dependencies + maxLength" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 608 - keyword-independence.json: "dependencies + maxLength" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 609 - keyword-independence.json: "dependencies + maxLength" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 610 - keyword-independence.json: "dependencies + maxLength" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 611 - keyword-independence.json: "dependencies + minLength" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 612 - keyword-independence.json: "dependencies + minLength" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 613 - keyword-independence.json: "dependencies + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 614 - keyword-independence.json: "dependencies + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 615 - keyword-independence.json: "dependencies + pattern" - "object, dependencies invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies/x" 451s # }, 451s # { 451s # "error": "not all dependencies are satisfied", 451s # "instanceLocation": "", 451s # "keywordLocation": "/dependencies" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 616 - keyword-independence.json: "dependencies + pattern" - "object, dependencies valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 617 - keyword-independence.json: "dependencies + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 618 - keyword-independence.json: "dependencies + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 619 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 620 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 621 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 622 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 623 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 624 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 625 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 626 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 627 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has more than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 628 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 629 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 630 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 631 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 632 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 633 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 634 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 635 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 636 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 637 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 638 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 639 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object has fewer than 1 property", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 640 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 641 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 642 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 643 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 644 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 645 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 646 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 647 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 648 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 649 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 650 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 651 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/no", 451s # "keywordLocation": "/patternProperties/no" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 652 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 653 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 654 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 655 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 656 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 657 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 658 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 659 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 660 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 661 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 662 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 663 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/properties/x" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 664 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 665 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 666 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 667 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 668 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 669 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 670 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 671 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 672 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 673 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 674 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 675 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "subschema is false", 451s # "instanceLocation": "/x", 451s # "keywordLocation": "/propertyNames" 451s # }, 451s # { 451s # "error": "not all property names are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/propertyNames" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 676 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 677 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 678 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 679 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 680 - keyword-independence.json: "maxLength + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 681 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is greater than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/maxLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 682 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 683 - keyword-independence.json: "minLength + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 684 - keyword-independence.json: "minLength + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 685 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "length is less than 2", 451s # "instanceLocation": "", 451s # "keywordLocation": "/minLength" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 686 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 687 - keyword-independence.json: "pattern + required" - "object, required invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "object is missing property: x", 451s # "instanceLocation": "", 451s # "keywordLocation": "/required" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 688 - keyword-independence.json: "pattern + required" - "object, required valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 689 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "pattern does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/pattern" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 690 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s # 451s ok 691 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/const_string", 451s # "keywordLocation": "/properties/const_string/const" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/const_string", 451s # "keywordLocation": "/properties/const_string/const" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 692 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 693 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 694 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/const_number", 451s # "keywordLocation": "/properties/const_number/const" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/const_number", 451s # "keywordLocation": "/properties/const_number/const" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 695 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/enum_string", 451s # "keywordLocation": "/properties/enum_string/enum" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/enum_string", 451s # "keywordLocation": "/properties/enum_string/enum" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 696 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 697 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 698 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/enum_number", 451s # "keywordLocation": "/properties/enum_number/enum" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "/enum_number", 451s # "keywordLocation": "/properties/enum_number/enum" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 699 - not-an-anchor.json: "object that is not a schema containing an $anchor property" - "skip traversing definition for a valid result" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 700 - not-an-anchor.json: "object that is not a schema containing an $anchor property" - "const at const_not_anchor does not match" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 701 - not-an-id.json: "object that is not a schema containing an $id property" - "skip traversing definition for a valid result" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 702 - not-an-id.json: "object that is not a schema containing an $id property" - "const at const_not_id does not match" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else/$ref/const" 451s # }, 451s # { 451s # "error": "subschema is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/else" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 703 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination" - "data is valid against first definition" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 704 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination" - "data is invalid against first definition" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 451s # "error": "value is greater than 10", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf/0/$ref/maximum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "/ref-and-id2/base.json#/allOf", 451s # "error": "subschema 0 is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 451s # "error": "value is greater than 10", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf/0/$ref/maximum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "/ref-and-id2/base.json#/allOf", 451s # "error": "subschema 0 is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 705 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 706 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 451s # "error": "value is greater than 10", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf/0/$ref/maximum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "/ref1/base.json#/allOf", 451s # "error": "subschema 0 is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 451s # "error": "value is greater than 10", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf/0/$ref/maximum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "/ref1/base.json#/allOf", 451s # "error": "subschema 0 is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 707 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 708 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "/ref2/base.json#/definitions/bigint/maximum", 451s # "error": "value is greater than 10", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf/0/$ref/maximum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "/ref2/base.json#/allOf", 451s # "error": "subschema 0 is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "/ref2/base.json#/definitions/bigint/maximum", 451s # "error": "value is greater than 10", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf/0/$ref/maximum" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "/ref2/base.json#/allOf", 451s # "error": "subschema 0 is not valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/allOf" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 709 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/enum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value does not match", 451s # "instanceLocation": "", 451s # "keywordLocation": "/enum" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 710 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 711 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/definitions/foo/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/definitions/foo/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 712 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/definitions/foo/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "$ref value is not a valid URI reference", 451s # "instanceLocation": "", 451s # "keywordLocation": "/definitions/foo/$ref" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 713 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 714 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 451s # "error": "got string, not integer", 451s # "instanceLocation": "/list/0", 451s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 451s # "error": "subschema is not valid against all items", 451s # "instanceLocation": "/list", 451s # "keywordLocation": "/properties/list/$ref/items" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 451s # "error": "got string, not integer", 451s # "instanceLocation": "/list/0", 451s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 451s # "error": "subschema is not valid against all items", 451s # "instanceLocation": "/list", 451s # "keywordLocation": "/properties/list/$ref/items" 451s # }, 451s # { 451s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 715 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 716 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/1", 451s # "keywordLocation": "/items/multipleOf" 451s # }, 451s # { 451s # "error": "subschema is not valid against all items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/1", 451s # "keywordLocation": "/items/multipleOf" 451s # }, 451s # { 451s # "error": "subschema is not valid against all items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 717 - short-circuit.json: "items (array form) does not improperly short-circuit" - "single item is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 718 - short-circuit.json: "items (array form) does not improperly short-circuit" - "second item is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/1", 451s # "keywordLocation": "/items/1/multipleOf" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/1", 451s # "keywordLocation": "/items/1/multipleOf" 451s # }, 451s # { 451s # "error": "not all items are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/items" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 719 - short-circuit.json: "additionalItems does not improperly short-circuit" - "single additional item is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 720 - short-circuit.json: "additionalItems does not improperly short-circuit" - "second additional item is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/2", 451s # "keywordLocation": "/additionalItems/multipleOf" 451s # }, 451s # { 451s # "error": "subschema is not valid against all additional items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/2", 451s # "keywordLocation": "/additionalItems/multipleOf" 451s # }, 451s # { 451s # "error": "subschema is not valid against all additional items", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalItems" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 721 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 722 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/properties/beta/multipleOf" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/properties/beta/multipleOf" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 723 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 724 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/properties/beta" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/properties/beta" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/properties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 725 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 726 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/patternProperties/^b/multipleOf" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/patternProperties/^b/multipleOf" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 727 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 728 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/patternProperties/^b" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "property not permitted", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/patternProperties/^b" 451s # }, 451s # { 451s # "error": "not all properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/patternProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 729 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 730 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/additionalProperties/multipleOf" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "value is not a multiple of 2", 451s # "instanceLocation": "/beta", 451s # "keywordLocation": "/additionalProperties/multipleOf" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 731 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 732 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "got string, not number", 451s # "instanceLocation": "", 451s # "keywordLocation": "/type" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "got string, not number", 451s # "instanceLocation": "", 451s # "keywordLocation": "/type" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 733 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "got object, not number", 451s # "instanceLocation": "", 451s # "keywordLocation": "/type" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "got object, not number", 451s # "instanceLocation": "", 451s # "keywordLocation": "/type" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 734 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "got array, not number", 451s # "instanceLocation": "", 451s # "keywordLocation": "/type" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "got array, not number", 451s # "instanceLocation": "", 451s # "keywordLocation": "/type" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 735 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "match" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 736 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive match" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 737 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "mismatch" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/bar", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "additional property not permitted", 451s # "instanceLocation": "/bar", 451s # "keywordLocation": "/additionalProperties" 451s # }, 451s # { 451s # "error": "not all additional properties are valid", 451s # "instanceLocation": "", 451s # "keywordLocation": "/additionalProperties" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 738 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive mismatch (but $dynamicRef is ignored)" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s # 451s ok 739 - vocabulary.json: "valid $vocabulary: everything is valid" - "a valid $vocabulary value" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 740 - vocabulary.json: "wrong specification version: but this is draft7" - "invalid $vocabulary value: wrong specification version" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 741 - vocabulary.json: "but this is draft7" - "invalid $vocabulary value: unknown URI" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s # 451s ok 742 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 743 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 744 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid date-time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid date-time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 745 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid date-time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid date-time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 746 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid date", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid date", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s ok 747 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 748 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 749 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 750 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 751 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 752 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 753 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 754 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 755 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 451s # result: { 451s # "valid": true 451s # } 451s # short-circuited result: { 451s # "valid": true 451s # } 451s ok 1 - test passes: data is valid: true 451s 1..1 451s } 451s ok 756 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 757 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 758 - optional/format-time.json: "validation of time strings" - "no time offset" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s ok 759 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 451s # result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s # short-circuited result: { 451s # "errors": [ 451s # { 451s # "error": "not a valid time", 451s # "instanceLocation": "", 451s # "keywordLocation": "/format" 451s # } 451s # ], 451s # "valid": false 451s # } 451s ok 1 - test passes: data is valid: false 451s 1..1 451s } 451s # 451s # 451s # generated with: Test::JSON::Schema::Acceptance 1.026 451s # specification version: draft7 451s # using custom test directory: t/additional-tests-draft7 451s # optional tests included: yes 451s # 451s # filename pass todo-fail fail 451s # --------------------------------------------------------------- 451s # badRef.json 3 0 0 451s # faux-buggy-schemas.json 2 0 0 451s # format-ipv4.json 4 0 0 451s # format-relative-json-pointer.json 7 0 0 451s # id.json 9 0 0 451s # integers.json 29 0 0 451s # keyword-independence.json 636 0 0 451s # loose-types-const-enum.json 8 0 0 451s # not-an-anchor.json 2 0 0 451s # not-an-id.json 2 0 0 451s # ref-and-id.json 2 0 0 451s # ref.json 10 0 0 451s # short-circuit.json 16 0 0 451s # unknownKeyword.json 8 0 0 451s # vocabulary.json 3 0 0 451s # optional/format-date-time.json 4 0 0 451s # optional/format-date.json 1 0 0 451s # optional/format-time.json 13 0 0 451s # --------------------------------------------------------------- 451s # TOTAL 759 0 0 451s # 451s # Congratulations, all non-optional tests are passing! 451s # 451s ok 760 - no leaks in the main evaluator object 451s ok 761 - no leaks in the short-circuiting evaluator object 451s ok 762 - got unsupported keyword warnings 451s 1..762 451s ok 452s t/annotations.t ......................... 452s # Subtest: draft7 452s ok 1 - user cannot enable annotations for draft7 452s ok 2 - user cannot enable annotations for draft7 even as an override 452s 1..2 452s ok 1 - draft7 452s # Subtest: allOf 452s ok 1 - evaluation of the allOf keyword fails 452s ok 2 - failing allOf: state is correct after evaluating 452s ok 3 - evaluation of the allOf keyword succeeds 452s ok 4 - passing allOf: state is correct after evaluating 452s ok 5 - annotation collection can be turned off in evaluate() 452s ok 6 - ...but the value is still true on the object 452s ok 7 - collect_annotations defaults to false 452s ok 8 - annotation collection can be turned on in evaluate() also 452s 1..8 452s ok 2 - allOf 452s # Subtest: oneOf 452s ok 1 - evaluation of the oneOf keyword fails 452s ok 2 - failing oneOf: state is correct after evaluating 452s ok 3 - evaluation of the oneOf keyword succeeds 452s ok 4 - passing oneOf: state is correct after evaluating 452s 1..4 452s ok 3 - oneOf 452s # Subtest: not 452s ok 1 - evaluation of the not keyword fails 452s ok 2 - failing not: state is correct after evaluating 452s ok 3 - evaluation of the not keyword fails 452s ok 4 - failing not: state is correct after evaluating (annotations will be ultimately discarded) 452s ok 5 - evaluation of the not keyword succeeds 452s ok 6 - passing not: state is correct after evaluating 452s ok 7 - annotations are still collected inside a "not", otherwise the unevaluatedProperties would have returned false 452s 1..7 452s ok 4 - not 452s # Subtest: prefixItems 452s ok 1 - no items means that "prefixItems" succeeds 452s ok 2 - no items: no annotation is produced by prefixItems 452s ok 3 - one item 452s ok 4 - passing prefixItems: one item is annotated 452s ok 5 - two items, one failing 452s ok 6 - failing prefixItems still collects annotations 452s 1..6 452s ok 5 - prefixItems 452s # Subtest: schema-items 452s ok 1 - no items means that "items" succeeds 452s ok 2 - no items: no annotation is produced by items 452s ok 3 - one item 452s ok 4 - passing items: one item is annotated 452s ok 5 - two items, one failing 452s ok 6 - failing items still collects annotations 452s 1..6 452s ok 6 - schema-items 452s # Subtest: additionalItems 452s ok 1 - no items means that "additionalItems" succeeds 452s ok 2 - no items: no annotation is produced by additionaltems 452s ok 3 - one item 452s ok 4 - additionalItems does nothing without items 452s 1..4 452s ok 7 - additionalItems 452s # Subtest: properties 452s ok 1 - no items means that "properties" succeeds 452s ok 2 - no properties: annotation is still produced by properties 452s ok 3 - one property 452s ok 4 - passing properties: one property is annotated 452s ok 5 - two properties, one failing 452s ok 6 - failing properties still collects annotations 452s 1..6 452s ok 8 - properties 452s # Subtest: patternProperties 452s ok 1 - no items means that "patternProperties" succeeds 452s ok 2 - no pProperties: annotation is still produced by patternProperties 452s ok 3 - one property 452s ok 4 - passing properties: one property is annotated 452s ok 5 - two properties, one failing 452s ok 6 - failing patternProperties still collects annotations 452s 1..6 452s ok 9 - patternProperties 452s # Subtest: additionalProperties 452s ok 1 - no items means that "additionalProperties" succeeds 452s ok 2 - no properties: no annotation is produced by additionalProperties 452s ok 3 - one property 452s ok 4 - passing additionalProperties: one property is annotated 452s ok 5 - two properties, one failing 452s ok 6 - failing properties still collects annotations 452s 1..6 452s ok 10 - additionalProperties 452s # Subtest: unevaluatedProperties 452s ok 1 - no items means that "unevaluatedProperties" succeeds 452s ok 2 - no properties: no annotation is produced by unevaluatedProperties 452s ok 3 - one property 452s ok 4 - passing unevaluatedProperties: one property is annotated 452s ok 5 - two properties, one failing 452s ok 6 - failing unevaluatedProperties still collects annotations 452s 1..6 452s ok 11 - unevaluatedProperties 452s # Subtest: collect_annotations and unevaluated keywords 452s ok 1 - when "collect_annotations" is explicitly set to false, unevaluatedItems can still be used (valid result, no annotations in result) 452s ok 2 - when "collect_annotations" is explicitly set to false, unevaluatedItems can still be used (invalid result) 452s ok 3 - when "collect_annotations" is explicitly set to false, unevaluatedProperties can still be used (valid result, no annotations) 452s ok 4 - when "collect_annotations" is explicitly set to false, unevaluatedProperties can still be used (invalid result) 452s ok 5 - when "collect_annotations" is explicitly set to false, unevaluatedProperties still be used, even in other documents (valid result) 452s ok 6 - when "collect_annotations" is explicitly set to false, unevaluatedProperties still be used, even in other documents (invalid result) 452s ok 7 - when "collect_annotations" is set to true, unevaluatedItems works, and annotations are returned 452s ok 8 - when "collect_annotations" is set to true, unevaluatedProperties passes, and annotations are returned 452s ok 9 - when "collect_annotations" is not set, unevaluatedItems still works, but annotations are not returned 452s ok 10 - when "collect_annotations" is not set, unevaluatedProperties still works, but annotations are not returned 452s ok 11 - ... still works when unevaluated keywords are in a separate document 452s ok 12 - items.json does not need collect_annotations => 1 to evaluate itself 452s ok 13 - properties.json does not need collect_annotations => 1 to evaluate itself 452s ok 14 - referenced schemas still produce annotations internally when needed, even when not required to evaluate themselves in isolation 452s 1..14 452s ok 12 - collect_annotations and unevaluated keywords 452s # Subtest: annotate unknown keywords 452s ok 1 - no annotations even when collect_annotations is false 452s ok 2 - unknown keywords are collected as annotations 452s ok 3 - "unknown" keyword is set on the annotation objects for unknown keywords 452s ok 4 - no annotations from unknown keywords in draft2019-09 452s 1..4 452s ok 13 - annotate unknown keywords 452s # Subtest: items + additionalItems, prefixItems + items 452s ok 1 - schema-based items + additionalItems 452s ok 2 - prefixItems + schema-based items 452s 1..2 452s ok 14 - items + additionalItems, prefixItems + items 452s 1..14 452s ok 453s t/boolean-data.t ........................ 453s # Subtest: strict booleans (default) 453s ok 1 - in data, bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) is a boolean 453s ok 2 - in data, bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) is a boolean 453s ok 3 - correct error generated from type for undef 453s ok 4 - correct error generated from type for 0 453s ok 5 - correct error generated from type for 1 453s ok 6 - correct error generated from type for '0' 453s ok 7 - correct error generated from type for '1' 453s ok 8 - correct error generated from type for 'false' 453s ok 9 - correct error generated from type for 'true' 453s ok 10 - correct error generated from type for \0 453s ok 11 - correct error generated from type for \1 453s ok 12 - in data, undef not is a boolean 453s ok 13 - in data, 0 not is a boolean 453s ok 14 - in data, 1 not is a boolean 453s ok 15 - in data, '0' not is a boolean 453s ok 16 - in data, '1' not is a boolean 453s ok 17 - in data, 'false' not is a boolean 453s ok 18 - in data, 'true' not is a boolean 453s ok 19 - in data, \0 not is a boolean 453s ok 20 - in data, \1 not is a boolean 453s 1..20 453s ok 1 - strict booleans (default) 453s # Subtest: scalarref_booleans = 1 453s ok 1 - in data, bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) is a boolean 453s ok 2 - in data, bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) is a boolean 453s ok 3 - in data, \0 is a boolean 453s ok 4 - in data, \1 is a boolean 453s ok 5 - correct error generated from type for ['null',undef] 453s ok 6 - correct error generated from type for ['integer',0] 453s ok 7 - correct error generated from type for ['integer',1] 453s ok 8 - correct error generated from type for ['string','0'] 453s ok 9 - correct error generated from type for ['string','1'] 453s ok 10 - correct error generated from type for ['string','false'] 453s ok 11 - correct error generated from type for ['string','true'] 453s ok 12 - items are all considered unique when types differ, even when perl treats them similarly 453s ok 13 - scalarrefs compare as identical to their counterpart booleans 453s ok 14 - scalarrefs compare as identical to their counterpart booleans 453s ok 15 - scalarrefs compare as identical to their counterpart booleans 453s ok 16 - scalarrefs compare as identical to their counterpart booleans 453s 1..16 453s ok 2 - scalarref_booleans = 1 453s 1..2 453s ok 453s t/boolean-schemas.t ..................... 453s ok 1 - schema: false evaluates to: false 453s ok 2 - invalid result structure looks correct 453s ok 3 - no exceptions in evaluate 453s ok 4 - schema: true evaluates to: true 453s ok 5 - invalid result structure looks correct 453s ok 6 - no exceptions in evaluate 453s ok 7 - schema: {} evaluates to: true 453s ok 8 - invalid result structure looks correct 453s ok 9 - no exceptions in evaluate 453s ok 10 - schema: 0 evaluates to: false 453s ok 11 - invalid result structure looks correct 453s ok 12 - no exceptions in evaluate 453s ok 13 - schema: 1 evaluates to: false 453s ok 14 - invalid result structure looks correct 453s ok 15 - no exceptions in evaluate 453s ok 16 - schema: false evaluates to: false 453s ok 17 - invalid result structure looks correct 453s ok 18 - no exceptions in evaluate 453s ok 19 - schema: true evaluates to: false 453s ok 20 - invalid result structure looks correct 453s ok 21 - no exceptions in evaluate 453s ok 22 - invalid schema type results in error 453s ok 23 - scalarref for schema results in error, even when scalarref_booleans is true 453s 1..23 453s ok 454s t/cached-metaschemas.t .................. 454s # Subtest: load cached metaschema 454s ok 1 - this resource is not yet known 454s ok 2 - loaded metaschema from sharedir cache 454s ok 3 - this resource is now in the resource index 454s 1..3 454s ok 1 - load cached metaschema 454s # Subtest: resource collision with cached metaschema 454s ok 1 - cannot introduce another schema whose id collides with a cached schema, even if it isn't loaded yet 454s 1..1 454s ok 2 - resource collision with cached metaschema 454s 1..2 454s ok 454s t/callbacks.t ........................... 454s # Subtest: evaluation callbacks 454s ok 1 - evaluation was successful 454s ok 2 - identified all data paths where a $ref was used 454s ok 3 - evaluation was not successful 454s ok 4 - no callbacks on failure: innermost $ref failed, so all other $refs failed too 454s ok 5 - evaluation was successful 454s ok 6 - successful subschemas have callbacks called, but not failed subschemas 454s 1..6 454s ok 1 - evaluation callbacks 454s # Subtest: callbacks for keywords without eval subs 454s ok 1 - evaluation was successful 454s ok 2 - callbacks are triggered for keywords even when they lack evaluation subs 454s 1..2 454s ok 2 - callbacks for keywords without eval subs 454s # Subtest: callbacks that produce errors 454s ok 1 - result object contains the callback error, and the other errors 454s ok 2 - result object contains the callback error, and short-circuits execution 454s 1..2 454s ok 3 - callbacks that produce errors 454s 1..3 454s ok 455s t/content-encoding.t .................... 455s # Subtest: unrecognized encoding formats do not result in errors, when not asserting 455s ok 1 - in evaluate(), annotations are collected and no validation is performed 455s 1..1 455s ok 1 - unrecognized encoding formats do not result in errors, when not asserting 455s # Subtest: media_type and encoding handlers 455s ok 1 - upper-cased names are not accepted 455s ok 2 - application/json media_type decoder 455s ok 3 - */* has no default match 455s ok 4 - default text/plain media_type decoder 455s ok 5 - getter uses the casefolded name 455s ok 6 - getter matches to wildcard entries 455s ok 7 - getter uses new override entry for wildcard 455s ok 8 - getter prefers case-insensitive matches to wildcard entries 455s ok 9 - getter matches to wildcard entries 455s ok 10 - text/* matches itself 455s ok 11 - getter still prefers case-insensitive matches to wildcard entries 455s ok 12 - text/* is preferred to */* 455s ok 13 - */* matches */*, once defined 455s ok 14 - */* is returned as a last resort 455s ok 15 - application/x-www-form-urlencoded happy path with unicode 455s ok 16 - application/x-ndjson happy path with unicode 455s ok 17 - application/x-ndjson dies with line number of the bad data 455s ok 18 - base64 encoding decoder + application/json media_type decoder 455s ok 19 - base64url encoding decoder + application/json media_type decoder 455s 1..19 455s ok 2 - media_type and encoding handlers 455s # Subtest: draft2020-12 assertions 455s ok 1 - under the current spec version, content* keywords are not assertions 455s ok 2 - contentEncoding first decodes the string, erroring if it can't 455s ok 3 - then contentMediaType parses the decoded string, erroring if it can't, and does not continue with the schema 455s ok 4 - contentSchema evaluates the decoded data 455s ok 5 - null data is handled properly 455s ok 6 - contentSchema successfully evaluates the decoded data 455s 1..6 455s ok 3 - draft2020-12 assertions 455s # Subtest: draft7 assertions 455s ok 1 - in draft7, assertion behaviour is the default 455s ok 2 - in draft7, then contentMediaType parses the decoded string, erroring if it can't, and does not continue with the schema 455s ok 3 - under draft7, content* are assertions by default, but contentSchema does not exist 455s 1..3 455s ok 4 - draft7 assertions 455s # Subtest: more assertions 455s ok 1 - evaluation aborts with an unrecognized contentEncoding 455s ok 2 - evaluation aborts with an unrecognized contentMediaType 455s 1..2 455s ok 5 - more assertions 455s 1..5 455s ok 456s t/dialects.t ............................ 456s # Subtest: invalid use of the $schema keyword 456s ok 1 - $schema can only appear at the root of a schema, when there is no canonical URI 456s ok 2 - $schema can only appear where the canonical URI has no fragment, when there is a canonical URI 456s ok 3 - this is still not a resource root, even in a $ref target 456s 1..3 456s ok 1 - invalid use of the $schema keyword 456s # Subtest: defaults without a $schema keyword 456s ok 1 - boolean schema: no $id, no $schema 456s ok 2 - boolean schema: defaults to draft2020-12 without a $schema keyword 456s ok 3 - object schema: no $id, no $schema 456s ok 4 - object schema: defaults to draft2020-12 without a $schema keyword 456s ok 5 - "not" keyword, from the Applicator vocabulary, is traversed at the root level 456s ok 6 - object schema: $id, no $schema 456s ok 7 - named resource defaults to draft2020-12 without a $schema keyword 456s ok 8 - boolean schema: no $id, no $schema 456s ok 9 - boolean schema: specification_version overridden 456s ok 10 - object schema: no $id, no $schema, specification version overridden, other keywords are ignored during traversal 456s ok 11 - object schema: no $id, no $schema, specification version overridden, other keywords are ignored during evaluation 456s ok 12 - object schema: overridden to draft7 456s ok 13 - object schema: $id, no $schema, unrecognized+invalid keywords are ignored during traversal 456s ok 14 - object schema: $id, no $schema 456s ok 15 - object schema: overridden to draft7 and other keywords are ignored 456s 1..15 456s ok 2 - defaults without a $schema keyword 456s # Subtest: behaviour with a $schema keyword 456s ok 1 - object schema: no $id, has $schema, unrecognized+invalid keywords are ignored during traversal 456s ok 2 - object schema: no $id, has $schema, unrecognized keywords are ignored during evaluation 456s ok 3 - semantics can be changed to another draft version 456s ok 4 - schema is accepted with $schema without an empty fragment 456s ok 5 - ..and is still recognized as draft7 456s ok 6 - $id and $schema, unrecognized+invalid keywords are ignored during traversal 456s ok 7 - $id and $schema 456s ok 8 - named resource can be changed to another draft version and other keywords are ignored 456s ok 9 - no $id, specification version overridden twice; unrecognized+invalid keywords are ignored during traversal 456s ok 10 - no $id, specification version overridden twice, other keywords are ignored during evaluation 456s ok 11 - unnamed resource can be changed to another draft version 456s ok 12 - no $id, specification version overridden twice; unrecognized+invalid keywords are ignored during traversal 456s ok 13 - no $id, specification version overridden twice, other keywords are ignored during evaluation 456s ok 14 - unnamed resource can be changed to another draft version 456s 1..14 456s ok 3 - behaviour with a $schema keyword 456s # Subtest: setting or changing schema semantics in a single document 456s ok 1 - $schema can appear adjacent to any $id 456s 1..1 456s ok 4 - setting or changing schema semantics in a single document 456s # Subtest: changing schema semantics across documents 456s ok 1 - no unexpected warnings 456s ok 2 - switching between specification versions is acceptable when crossing document boundaries 456s ok 3 - resources for top level schema 456s ok 4 - resources for subschema 456s ok 5 - no unexpected warnings 456s ok 6 - switching between specification versions is acceptable when crossing document boundaries 456s ok 7 - resources for top level schema 456s ok 8 - resources for subschema 456s 1..8 456s ok 5 - changing schema semantics across documents 456s # Subtest: changing schema semantics within documents 456s # 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. 456s ok 1 - switching between specification versions is acceptable within a document, draft2019-09 -> draft7 456s ok 2 - resources for top level schema 456s ok 3 - resources for subschema 456s # 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. 456s ok 4 - switching between specification versions is acceptable within a document, draft7 -> draf2020-12 456s ok 5 - resources for top level schema 456s ok 6 - resources for subschema 456s 1..6 456s ok 6 - changing schema semantics within documents 456s # Subtest: $vocabulary 456s ok 1 - $vocabulary syntax checks 456s ok 2 - $vocabulary location check - resource root 456s ok 3 - $vocabulary location check - document root 456s ok 4 - successfully evaluated a metaschema that specifies vocabularies 456s ok 5 - metaschemas are not saved on the resource 456s ok 6 - ..but once we use the schema as a metaschema, 456s ok 7 - ... the vocabulary information is now cached in the evaluator 456s 1..7 456s ok 7 - $vocabulary 456s # Subtest: standard metaschemas 456s ok 1 - main metaschema evaluated against its own URI 456s ok 2 - main metaschema evaluated against its own content 456s ok 3 - core metaschema evaluated against the main metaschema URI 456s ok 4 - core metaschema evaluated against its own content 456s 1..4 456s ok 8 - standard metaschemas 456s # Subtest: custom metaschemas, without custom vocabularies 456s ok 1 - specification version detected from standard metaschema URI 456s ok 2 - custom metaschema restricts schemas to objects 456s ok 3 - custom metaschema recurses to standard metaschema 456s ok 4 - objects are acceptable schemas to this metaschema 456s ok 5 - metaschemas without $vocabulary can still be used in the $schema keyword 456s ok 6 - ..and schema uses the correct spec version and vocabularies 456s 1..6 456s ok 9 - custom metaschemas, without custom vocabularies 456s # Subtest: custom metaschemas, with custom vocabularies 456s ok 1 - custom metaschemas are okay, but the document must be known 456s ok 2 - $vocabulary location check - document root 456s ok 3 - metaschemas must have an i$id 456s ok 4 - $vocabulary validation that must be deferred until used as a metaschema 456s ok 5 - metaschemas using "$vocabulary" must contain vocabularies 456s ok 6 - metaschemas must contain the Core vocabulary 456s ok 7 - validation succeeds because "minimum" never gets run 456s ok 8 - determined vocabularies to use for this schema 456s 1..8 456s ok 10 - custom metaschemas, with custom vocabularies 456s # Subtest: custom vocabulary classes with add_vocabulary() 456s ok 1 - vocabulary class must exist 456s ok 2 - vocabulary class must implement the role 456s ok 3 - vocabulary class must implement some subs 456s ok 4 - vocabulary() sub in the vocabulary class must return uri => specification_version pairs 456s ok 5 - parse error from bad vocab sub 456s ok 6 - vocabulary() sub in the vocabulary class must contain valid absolute, fragmentless URIs 456s ok 7 - vocabulary() sub in the vocabulary class must reference a known specification version 456s ok 8 - added a vocabulary sub 456s ok 9 - vocabulary was successfully added 456s ok 10 - custom vocabulary class has a conflicting evaluation_order 456s ok 11 - added another vocabulary sub 456s ok 12 - custom vocabulary class used by a custom metaschema used by a schema 456s 1..12 456s ok 11 - custom vocabulary classes with add_vocabulary() 456s # Subtest: $schema points to a boolean schema 456s ok 1 - $schema cannot reference a boolean schema 456s 1..1 456s ok 12 - $schema points to a boolean schema 456s 1..12 456s ok 457s t/document.t ............................ 458s # Subtest: boolean document 458s ok 1 - boolean schema with no canonical_uri 458s ok 2 - boolean schema with invalid canonical_uri (fragment) 458s ok 3 - boolean schema with valid canonical_uri 458s 1..3 458s ok 1 - boolean document 458s # Subtest: object document 458s ok 1 - object schema with no canonical_uri, no root $id 458s ok 2 - object schema with valid canonical_uri, no root $id 458s ok 3 - object schema with no canonical_uri, and absolute root $id 458s ok 4 - object schema with no canonical_uri, and absolute root $id 458s ok 5 - object schema with no canonical_uri, and absolute root $id 458s ok 6 - object schema with canonical_uri and root $id, and additional resource schemas as well 458s ok 7 - relative uri for root $id 458s ok 8 - no root $id; absolute uri with path in subschema resource 458s 1..8 458s ok 2 - object document 458s # Subtest: $id and $anchor as properties 458s ok 1 - did not index the $id and $anchor properties as if they were identifier keywords 458s 1..1 458s ok 3 - $id and $anchor as properties 458s # Subtest: $id with an empty fragment 458s ok 1 - $id is stored with the empty fragment stripped 458s 1..1 458s ok 4 - $id with an empty fragment 458s # Subtest: $id with a non-empty fragment 458s ok 1 - did not index the $id with a non-empty fragment, nor use it as the base for other identifiers 458s 1..1 458s ok 5 - $id with a non-empty fragment 458s # Subtest: $anchor not conforming to syntax 458s ok 1 - did not index an $anchor with invalid characters 458s 1..1 458s ok 6 - $anchor not conforming to syntax 458s # Subtest: $schema not conforming to syntax 458s ok 1 - invalid $schema is detected 458s 1..1 458s ok 7 - $schema not conforming to syntax 458s # Subtest: $anchor and $id below an $id that is not at the document root 458s ok 1 - canonical_uri uses the path from the innermost $id, not document root $id 458s 1..1 458s ok 8 - $anchor and $id below an $id that is not at the document root 458s # Subtest: JSON pointer and URI escaping 458s ok 1 - properly escaped special characters in JSON pointers and URIs 458s ok 2 - schema locations are tracked 458s ok 3 - non-schema locations are also tracked 458s ok 4 - schema locations can be queried 458s 1..4 458s ok 9 - JSON pointer and URI escaping 458s # Subtest: resource collisions 458s ok 1 - detected collision between document's initial uri and a subschema's uri 458s ok 2 - detected collision between two subschema uris in a document 458s ok 3 - ignored "duplicate" uris embedded in non-schemas 458s ok 4 - the correct canonical uri is indexed in the inverted index 458s 1..4 458s ok 10 - resource collisions 458s # Subtest: create document with explicit canonical_uri set to the same as root $id 458s ok 1 - there is one single uri indexed to the document 458s 1..1 458s ok 11 - create document with explicit canonical_uri set to the same as root $id 458s # Subtest: canonical_uri identification from a document with errors 458s ok 1 - error lower down in document does not result in an inner identifier being used as canonical_uri 458s 1..1 458s ok 12 - canonical_uri identification from a document with errors 458s # Subtest: custom metaschema_uri 458s ok 1 - determined vocabularies to use for this schema 458s ok 2 - validation succeeds because "minimum" never gets run 458s ok 3 - can evaluate at a subschema as well, with the same vocabularies 458s ok 4 - schema validates against its metaschema, and "minimum" is ignored 458s ok 5 - no leaks in the evaluator object 458s 1..5 458s ok 13 - custom metaschema_uri 458s 1..13 458s ok 458s t/equality.t ............................ 458s # Subtest: equality, using inflated data 458s ok 1 - null == null is true 458s ok 2 - error is undefined 458s ok 3 - type of arg 0 was not mutated while making equality check 458s ok 4 - type of arg 1 was not mutated while making equality check 458s # 458s ok 5 - null == false is false 458s ok 6 - two instances differ at the expected place 458s ok 7 - error is correct 458s ok 8 - type of arg 0 was not mutated while making equality check 458s ok 9 - type of arg 1 was not mutated while making equality check 458s # 458s ok 10 - null == true is false 458s ok 11 - two instances differ at the expected place 458s ok 12 - error is correct 458s ok 13 - type of arg 0 was not mutated while making equality check 458s ok 14 - type of arg 1 was not mutated while making equality check 458s # 458s ok 15 - null == 1 is false 458s ok 16 - two instances differ at the expected place 458s ok 17 - error is correct 458s ok 18 - type of arg 0 was not mutated while making equality check 458s ok 19 - type of arg 1 was not mutated while making equality check 458s # 458s ok 20 - null == "1" is false 458s ok 21 - two instances differ at the expected place 458s ok 22 - error is correct 458s ok 23 - type of arg 0 was not mutated while making equality check 458s ok 24 - type of arg 1 was not mutated while making equality check 458s # 458s ok 25 - ["a", "b", "c"] == ["a", "b", "c"] is true 458s ok 26 - error is undefined 458s ok 27 - type of arg 0 was not mutated while making equality check 458s ok 28 - type of arg 1 was not mutated while making equality check 458s # 458s ok 29 - ["a", "b", "c"] == ["a", "b"] is false 458s ok 30 - two instances differ at the expected place 458s ok 31 - error is correct 458s ok 32 - type of arg 0 was not mutated while making equality check 458s ok 33 - type of arg 1 was not mutated while making equality check 458s # 458s ok 34 - ["a", "b"] == ["b", "a"] is false 458s ok 35 - two instances differ at the expected place 458s ok 36 - error is correct 458s ok 37 - type of arg 0 was not mutated while making equality check 458s ok 38 - type of arg 1 was not mutated while making equality check 458s # 458s ok 39 - 1 == 1 is true 458s ok 40 - error is undefined 458s ok 41 - type of arg 0 was not mutated while making equality check 458s ok 42 - type of arg 1 was not mutated while making equality check 458s # 458s ok 43 - 1 == 1.0 is true 458s ok 44 - error is undefined 458s ok 45 - type of arg 0 was not mutated while making equality check 458s ok 46 - type of arg 1 was not mutated while making equality check 458s # 458s ok 47 - 1 == "1.0" is false 458s ok 48 - two instances differ at the expected place 458s ok 49 - error is correct 458s ok 50 - type of arg 0 was not mutated while making equality check 458s ok 51 - type of arg 1 was not mutated while making equality check 458s # 458s ok 52 - "1.1" == 1.1 is false 458s ok 53 - two instances differ at the expected place 458s ok 54 - error is correct 458s ok 55 - type of arg 0 was not mutated while making equality check 458s ok 56 - type of arg 1 was not mutated while making equality check 458s # 458s ok 57 - "1" == 1 is false 458s ok 58 - two instances differ at the expected place 458s ok 59 - error is correct 458s ok 60 - type of arg 0 was not mutated while making equality check 458s ok 61 - type of arg 1 was not mutated while making equality check 458s # 458s ok 62 - "1.1" == 1.1 is false 458s ok 63 - two instances differ at the expected place 458s ok 64 - error is correct 458s ok 65 - type of arg 0 was not mutated while making equality check 458s ok 66 - type of arg 1 was not mutated while making equality check 458s # 458s ok 67 - [1, 2] == [2, 1] is false 458s ok 68 - two instances differ at the expected place 458s ok 69 - error is correct 458s ok 70 - type of arg 0 was not mutated while making equality check 458s ok 71 - type of arg 1 was not mutated while making equality check 458s # 458s ok 72 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 2} is true 458s ok 73 - error is undefined 458s ok 74 - type of arg 0 was not mutated while making equality check 458s ok 75 - type of arg 1 was not mutated while making equality check 458s # 458s ok 76 - {"a" : 1} == {"a" : 1.0} is true 458s ok 77 - error is undefined 458s ok 78 - type of arg 0 was not mutated while making equality check 458s ok 79 - type of arg 1 was not mutated while making equality check 458s # 458s ok 80 - ["école", "ಠ_ಠ"] == ["école", "ಠ_ಠ"] is true 458s ok 81 - error is undefined 458s ok 82 - type of arg 0 was not mutated while making equality check 458s ok 83 - type of arg 1 was not mutated while making equality check 458s # 458s ok 84 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 3} is false 458s ok 85 - two instances differ at the expected place 458s ok 86 - error is correct 458s ok 87 - type of arg 0 was not mutated while making equality check 458s ok 88 - type of arg 1 was not mutated while making equality check 458s # 458s ok 89 - {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 4}} == {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 5}} is false 458s ok 90 - two instances differ at the expected place 458s ok 91 - error is correct 458s ok 92 - type of arg 0 was not mutated while making equality check 458s ok 93 - type of arg 1 was not mutated while making equality check 458s # 458s ok 94 - [{"a" : 1}] == [{"a" : 1, "b" : 2}] is false 458s ok 95 - two instances differ at the expected place 458s ok 96 - error is correct 458s ok 97 - type of arg 0 was not mutated while making equality check 458s ok 98 - type of arg 1 was not mutated while making equality check 458s # 458s ok 99 - [{"a" : 1}] == [{"b" : 2}] is false 458s ok 100 - two instances differ at the expected place 458s ok 101 - error is correct 458s ok 102 - type of arg 0 was not mutated while making equality check 458s ok 103 - type of arg 1 was not mutated while making equality check 458s # 458s ok 104 - {"foo" : [[0]]} == {"foo" : [[0, 1]]} is false 458s ok 105 - two instances differ at the expected place 458s ok 106 - error is correct 458s ok 107 - type of arg 0 was not mutated while making equality check 458s ok 108 - type of arg 1 was not mutated while making equality check 458s # 458s 1..108 458s ok 1 - equality, using inflated data 458s # Subtest: equality, using JSON strings 458s ok 1 - null == null is true 458s ok 2 - type of arg 0 was not mutated while making equality check 458s ok 3 - type of arg 1 was not mutated while making equality check 458s # 458s ok 4 - null == 1 is false 458s ok 5 - two instances differ at the expected place 458s ok 6 - type of arg 0 was not mutated while making equality check 458s ok 7 - type of arg 1 was not mutated while making equality check 458s # 458s ok 8 - ["a", "b", "c"] == ["a", "b", "c"] is true 458s ok 9 - type of arg 0 was not mutated while making equality check 458s ok 10 - type of arg 1 was not mutated while making equality check 458s # 458s ok 11 - ["a", "b", "c"] == ["a", "b"] is false 458s ok 12 - two instances differ at the expected place 458s ok 13 - type of arg 0 was not mutated while making equality check 458s ok 14 - type of arg 1 was not mutated while making equality check 458s # 458s ok 15 - ["a", "b"] == ["b", "a"] is false 458s ok 16 - two instances differ at the expected place 458s ok 17 - type of arg 0 was not mutated while making equality check 458s ok 18 - type of arg 1 was not mutated while making equality check 458s # 458s ok 19 - 1 == 1 is true 458s ok 20 - type of arg 0 was not mutated while making equality check 458s ok 21 - type of arg 1 was not mutated while making equality check 458s # 458s ok 22 - 1 == 1.0 is true 458s ok 23 - type of arg 0 was not mutated while making equality check 458s ok 24 - type of arg 1 was not mutated while making equality check 458s # 458s ok 25 - 10 == 10.0 is true 458s ok 26 - type of arg 0 was not mutated while making equality check 458s ok 27 - type of arg 1 was not mutated while making equality check 458s # 458s ok 28 - [1, 2] == [2, 1] is false 458s ok 29 - two instances differ at the expected place 458s ok 30 - type of arg 0 was not mutated while making equality check 458s ok 31 - type of arg 1 was not mutated while making equality check 458s # 458s ok 32 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 2} is true 458s ok 33 - type of arg 0 was not mutated while making equality check 458s ok 34 - type of arg 1 was not mutated while making equality check 458s # 458s ok 35 - {"a" : 1} == {"a" : 1.0} is true 458s ok 36 - type of arg 0 was not mutated while making equality check 458s ok 37 - type of arg 1 was not mutated while making equality check 458s # 458s ok 38 - ["école", "ಠ_ಠ"] == ["école", "ಠ_ಠ"] is true 458s ok 39 - type of arg 0 was not mutated while making equality check 458s ok 40 - type of arg 1 was not mutated while making equality check 458s # 458s ok 41 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 3} is false 458s ok 42 - two instances differ at the expected place 458s ok 43 - type of arg 0 was not mutated while making equality check 458s ok 44 - type of arg 1 was not mutated while making equality check 458s # 458s ok 45 - {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 4}} == {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 5}} is false 458s ok 46 - two instances differ at the expected place 458s ok 47 - type of arg 0 was not mutated while making equality check 458s ok 48 - type of arg 1 was not mutated while making equality check 458s # 458s 1..48 458s ok 2 - equality, using JSON strings 458s # Subtest: equality, using scalarref_booleans 458s ok 1 - false == true is false 458s ok 2 - two instances differ at the expected place 458s ok 3 - type of arg 0 was not mutated while making equality check 458s ok 4 - type of arg 1 was not mutated while making equality check 458s # 458s ok 5 - true == true is true 458s ok 6 - type of arg 0 was not mutated while making equality check 458s ok 7 - type of arg 1 was not mutated while making equality check 458s # 458s ok 8 - false == false is true 458s ok 9 - type of arg 0 was not mutated while making equality check 458s ok 10 - type of arg 1 was not mutated while making equality check 458s # 458s ok 11 - true == false is false 458s ok 12 - two instances differ at the expected place 458s ok 13 - type of arg 0 was not mutated while making equality check 458s ok 14 - type of arg 1 was not mutated while making equality check 458s # 458s ok 15 - null == false is false 458s ok 16 - two instances differ at the expected place 458s ok 17 - type of arg 0 was not mutated while making equality check 458s ok 18 - type of arg 1 was not mutated while making equality check 458s # 458s ok 19 - null == false is false 458s ok 20 - two instances differ at the expected place 458s ok 21 - type of arg 0 was not mutated while making equality check 458s ok 22 - type of arg 1 was not mutated while making equality check 458s # 458s 1..22 458s ok 3 - equality, using scalarref_booleans 458s # Subtest: equality, using stringy_numbers 458s ok 1 - 1 == 1 is true 458s ok 2 - type of arg 0 was not mutated while making equality check (get_type returns integer) 458s ok 3 - type of arg 1 was not mutated while making equality check (get_type returns integer) 458s ok 4 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 458s ok 5 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 458s # 458s ok 6 - 1 == 1.0 is true 458s ok 7 - type of arg 0 was not mutated while making equality check (get_type returns integer) 458s ok 8 - type of arg 1 was not mutated while making equality check (get_type returns integer) 458s ok 9 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 458s ok 10 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 458s # 458s ok 11 - 1 == "1.0" is true 458s ok 12 - type of arg 0 was not mutated while making equality check (get_type returns integer) 458s ok 13 - type of arg 1 was not mutated while making equality check (get_type returns string) 458s ok 14 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 458s ok 15 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 16 - "1.1" == 1.1 is true 458s ok 17 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 18 - type of arg 1 was not mutated while making equality check (get_type returns number) 458s ok 19 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 20 - type of arg 1 was not mutated while making equality check (is_type('number') returns true) 458s # 458s ok 21 - "1" == 1 is true 458s ok 22 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 23 - type of arg 1 was not mutated while making equality check (get_type returns integer) 458s ok 24 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 25 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 458s # 458s ok 26 - "1.1" == 1.1 is true 458s ok 27 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 28 - type of arg 1 was not mutated while making equality check (get_type returns number) 458s ok 29 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 30 - type of arg 1 was not mutated while making equality check (is_type('number') returns true) 458s # 458s ok 31 - "1" == "1.00" is true 458s ok 32 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 33 - type of arg 1 was not mutated while making equality check (get_type returns string) 458s ok 34 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 35 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 36 - "1.10" == "1.1000" is true 458s ok 37 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 38 - type of arg 1 was not mutated while making equality check (get_type returns string) 458s ok 39 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 40 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 41 - "x" == "x" is true 458s ok 42 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 43 - type of arg 1 was not mutated while making equality check (get_type returns string) 458s ok 44 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 45 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 46 - "x" == "y" is false 458s ok 47 - two instances differ at the expected place 458s ok 48 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 49 - type of arg 1 was not mutated while making equality check (get_type returns string) 458s ok 50 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s ok 51 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 52 - "5" == 5 is true 458s ok 53 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 54 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 458s ok 55 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 56 - 5 == 5 is true 458s ok 57 - type of arg 0 was not mutated while making equality check (get_type returns integer) 458s ok 58 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 458s ok 59 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 458s # 458s ok 60 - "5" == "five" is false 458s ok 61 - two instances differ at the expected place 458s ok 62 - type of arg 0 was not mutated while making equality check (get_type returns string) 458s ok 63 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 458s ok 64 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 458s # 458s ok 65 - 5 == "five" is false 458s ok 66 - two instances differ at the expected place 458s ok 67 - type of arg 0 was not mutated while making equality check (get_type returns integer) 458s ok 68 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 458s ok 69 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 458s # 458s 1..69 458s ok 4 - equality, using stringy_numbers 458s 1..4 458s ok 458s t/errors.t .............................. 458s # Subtest: multiple types 458s ok 1 - type returned false 458s ok 2 - got error count 458s ok 3 - correct error generated from type 458s ok 4 - result object serializes correctly 458s 1..4 458s ok 1 - multiple types 458s # Subtest: multipleOf 458s ok 1 - correct error generated from multipleOf 458s 1..1 458s ok 2 - multipleOf 458s # Subtest: uniqueItems 458s ok 1 - correct error generated from uniqueItems 458s 1..1 458s ok 3 - uniqueItems 458s # Subtest: allOf, not, and false schema 458s ok 1 - correct errors with locations; did not collect errors inside "not" 458s ok 2 - short-circuited results contain fewer errors 458s 1..2 458s ok 4 - allOf, not, and false schema 458s # Subtest: anyOf keeps all errors for false paths when invalid, discards errors for false paths when valid 458s ok 1 - correct errors with locations; did not collect errors inside "not" 458s ok 2 - short-circuited results contain the same errors (short-circuiting not possible) 458s ok 3 - did not collect errors from failure paths from successful anyOf 458s ok 4 - no errors collected for true validation 458s 1..4 458s ok 5 - anyOf keeps all errors for false paths when invalid, discards errors for false paths when valid 458s # Subtest: applicators with non-boolean subschemas, discarding intermediary errors - items 458s ok 1 - collected all errors from subschemas for failing branches only (passing branches discard errors) 458s ok 2 - short-circuited results contain fewer errors 458s 1..2 458s ok 6 - applicators with non-boolean subschemas, discarding intermediary errors - items 458s # Subtest: applicators with non-boolean subschemas, discarding intermediary errors - contains 458s ok 1 - collected all errors from subschemas for failing branches only (passing branches discard errors) 458s ok 2 - short-circuited results contain the same errors 458s 1..2 458s ok 7 - applicators with non-boolean subschemas, discarding intermediary errors - contains 458s # Subtest: errors with $refs 458s ok 1 - errors have correct absolute keyword location via $ref 458s 1..1 458s ok 8 - errors with $refs 458s # Subtest: const and enum 458s ok 1 - got details about object differences in errors from const and enum 458s 1..1 458s ok 9 - const and enum 458s # Subtest: exceptions 458s ok 1 - attempting to evaluate a json string returns the exception as an error 458s ok 2 - exception flag is true on the result 458s ok 3 - a subschema of an invalid type returns an error at the right position, and evaluation continues 458s ok 4 - exception flag is true on the result 458s ok 5 - invalid argument to "type" returns an error at the right position, and evaluation continues 458s ok 6 - exception flag is true on the result 458s 1..6 458s ok 10 - exceptions 458s # Subtest: errors after crossing multiple $refs using $id and $anchor 458s ok 1 - errors have correct absolute keyword location via $ref 458s ok 2 - absolute keyword location is correct, even when not used in the $ref 458s 1..2 458s ok 11 - errors after crossing multiple $refs using $id and $anchor 458s # Subtest: unresolvable $ref to a local resource 458s ok 1 - error for a bad $ref reports the correct absolute location that was referred to 458s ok 2 - exception flag is true on the result 458s 1..2 458s ok 12 - unresolvable $ref to a local resource 458s # Subtest: unresolvable $ref to a remote resource 458s ok 1 - error for a bad $ref reports the correct absolute location that was referred to 458s ok 2 - exception flag is true on the result 458s 1..2 458s ok 13 - unresolvable $ref to a remote resource 458s # Subtest: unresolvable $ref to plain-name fragment 458s ok 1 - properly handled a bad $ref to an anchor 458s ok 2 - exception flag is true on the result 458s 1..2 458s ok 14 - unresolvable $ref to plain-name fragment 458s # Subtest: abort due to a schema error 458s ok 1 - exception inside a oneOf (where errors are localized) are still included in the result 458s 1..1 458s ok 15 - abort due to a schema error 458s # Subtest: sorted property names 458s ok 1 - property names are considered in sorted order 458s 1..1 458s ok 16 - sorted property names 458s # Subtest: bad regex in schema 458s ok 1 - bad "pattern" and "patternProperties" regexes are properly noted in error 458s ok 2 - bad "pattern" regex is properly noted in error 458s ok 3 - "pattern" regex is now valid, due to the Unicode property becoming defined 458s 1..3 458s ok 17 - bad regex in schema 458s # Subtest: JSON pointer escaping 458s ok 1 - JSON pointers are properly escaped; URIs doubly so 458s ok 2 - absoluteKeywordLocation is omitted when paths are the same, not counting uri encoding 458s ok 3 - use of _schema_path_suffix in a fatal error 458s 1..3 458s ok 18 - JSON pointer escaping 458s # Subtest: absoluteKeywordLocation 458s ok 1 - absoluteKeywordLocation is included when different from instanceLocation, even when empty 458s ok 2 - absoluteKeywordLocation is not included when the path equals keywordLocation, even if a $ref is present 458s ok 3 - absoluteKeywordLocation is never "\#" 458s ok 4 - absoluteKeywordLocation reflects the canonical schema uri as it changes when passing through $id 458s ok 5 - plain-name fragment in $id does not change canonical schema uri 458s 1..5 458s ok 19 - absoluteKeywordLocation 458s # Subtest: dependentRequired 458s ok 1 - dependentRequired traversal error 458s 1..1 458s ok 20 - dependentRequired 458s # Subtest: evaluate in the middle of a document 458s ok 1 - provided evaluation uri does not exist 458s ok 2 - error has correct locations from override hash 458s 1..2 458s ok 21 - evaluate in the middle of a document 458s # Subtest: numbers in output 458s ok 1 - numbers in errors do not lose any digits of precision 458s 1..1 458s ok 22 - numbers in output 458s # Subtest: effective_base_uri 458s ok 1 - error locations are relative to the effective_base_uri, but $ref usage is not restricted 458s 1..1 458s ok 23 - effective_base_uri 458s # Subtest: recommended_response 458s ok 1 - recommended_response is not defined when there are no errors 458s ok 2 - recommended_response uses the first error in the result 458s ok 3 - recommended_response indicates an exception occurred 458s ok 4 - recommended_response uses the one from the error that is explicitly set 458s 1..4 458s ok 24 - recommended_response 458s # Subtest: exclusiveMaximum, exclusiveMinimum across drafts 458s ok 1 - later drafts; errors are produced separately from the keywords 458s ok 2 - later drafts; two errors can result 458s ok 3 - draft4: one error comes from maximum, but includes the exclusiveMaximum check 458s ok 4 - draft4: maximum + exclusiveMaximum checks are combined 458s ok 5 - draft4: exclusive check uses the right boundary 458s ok 6 - draft4: maximum check is correct 458s 1..6 458s ok 25 - exclusiveMaximum, exclusiveMinimum across drafts 458s 1..25 458s ok 459s t/evaluate_json_string.t ................ 459s ok 1 - we have a JSON decoder 459s ok 2 - json data "true" is evaluated successfully 459s ok 3 - no exceptions in evaluate_json_string on good json 459s ok 4 - evaluating bad json data returns false, with error 459s ok 5 - no exceptions in evaluate_json_string on bad json 459s 1..5 459s ok 459s t/find-identifiers.t .................... 459s # Subtest: $id sets canonical uri 459s ok 1 - $id was recognized - $ref was successfully traversed 459s ok 2 - resources indexed; document canonical_uri is still unset 459s ok 3 - the same document object is indexed under both URIs 459s ok 4 - the schema contains no blessed leaf nodes 459s 1..4 459s ok 1 - $id sets canonical uri 459s # Subtest: anchors 459s ok 1 - $id was recognized - absolute locations use json paths, not anchors 459s ok 2 - internal resource index is correct 459s 1..2 459s ok 2 - anchors 459s # Subtest: $anchor at root without $id 459s ok 1 - $id without anchor was recognized - absolute locations use json paths, not anchors 459s ok 2 - internal resource index is correct 459s 1..2 459s ok 3 - $anchor at root without $id 459s # Subtest: $ids and $anchors in subschemas after $id changes 459s ok 1 - $anchor is legal in a subschema 459s ok 2 - internal resource index is correct 459s 1..2 459s ok 4 - $ids and $anchors in subschemas after $id changes 459s # Subtest: invalid $id and $anchor 459s ok 1 - bad $id and $anchor are detected, even if bad definitions are not traversed 459s ok 2 - "bad" $ids and $anchors that are not actually keywords are not reported as errors 459s 1..2 459s ok 5 - invalid $id and $anchor 459s # Subtest: nested $ids 459s ok 1 - errors have the correct location 459s ok 2 - properly resolved all the nested $ids 459s 1..2 459s ok 6 - nested $ids 459s # Subtest: multiple documents, each using canonical_uri = "" 459s ok 1 - evaluation of schema1 459s ok 2 - resources in initial schema are indexed 459s ok 3 - successful evaluation of schema2 459s ok 4 - resources in second schema are indexed; all resources from first schema are preserved except uri="" 459s 1..4 459s ok 7 - multiple documents, each using canonical_uri = "" 459s # Subtest: multiple documents, each using canonical_uri = "", collisions in other resources 459s ok 1 - evaluation of schema1 459s ok 2 - resources in initial schema are indexed 459s ok 3 - schema2 cannot be evaluated - an internal $id collides with an existing resource 459s 1..3 459s ok 8 - multiple documents, each using canonical_uri = "", collisions in other resources 459s # Subtest: resource collisions in canonical uris 459s ok 1 - detected collision between a document's initial uri and a document's subschema's uri 459s ok 2 - detected collision between two document subschema uris 459s 1..2 459s ok 9 - resource collisions in canonical uris 459s # Subtest: relative uri in $id 459s ok 1 - root schema location is correctly identified 459s ok 2 - properly able to traverse a recursive schema using a relative $id 459s 1..2 459s ok 10 - relative uri in $id 459s 1..10 459s ok 460s t/formats.t ............................. 460s # Subtest: no validation 460s ok 1 - validate_formats=0 disables format assertion behaviour; annotation is still produced 460s ok 2 - format validation can be turned off in evaluate() 460s 1..2 460s ok 1 - no validation 460s # Subtest: simple validation 460s ok 1 - non-string values are valid, and produce an annotation 460s ok 2 - simple success 460s ok 3 - simple failure 460s ok 4 - format_validation defaults to false 460s ok 5 - format validation can be turned on in evaluate() 460s ok 6 - ...but the value is still false on the object 460s 1..6 460s ok 2 - simple validation 460s # Subtest: override a format sub 460s ok 1 - check syntax of override to existing format via constructor 460s ok 2 - check syntax of override format name to existing format via setter 460s ok 3 - check syntax of override definition value to existing format via setter 460s ok 4 - type is required if passing a hashref 460s ok 5 - cannot override a core format to support a different data type 460s ok 6 - can override a core format definition, as long as it uses the same type 460s ok 7 - check syntax of implementation for a new format 460s ok 8 - check syntax of implementation when adding an override to existing format 460s ok 9 - check syntax of implementation when adding a new format 460s ok 10 - swapping out format implementation turns success into failure; wrong types are still valid 460s ok 11 - can override a custom format definition to use a different type 460s 1..11 460s ok 3 - override a format sub 460s # Subtest: toggle validate_formats after adding schema 460s ok 1 - assertion behaviour is off initially 460s ok 2 - assertion behaviour can be enabled later with an already-loaded schema 460s ok 3 - valid assertion behaviour does not die 460s ok 4 - a schema document can be used with another evaluator with assertion behaviour 460s ok 5 - valid assertion behaviour does not die 460s 1..5 460s ok 4 - toggle validate_formats after adding schema 460s # Subtest: custom metaschemas 460s ok 1 - custom metaschema using format-assertion=true validates formats 460s ok 2 - custom metaschema using format-assertion=true validates formats 460s 1..2 460s ok 5 - custom metaschemas 460s # Subtest: core formats added after draft7 460s ok 1 - duration is not implemented in draft7 460s ok 2 - uuid is not implemented in draft7 460s 1..2 460s ok 6 - core formats added after draft7 460s # Subtest: unimplemented core formats 460s ok 1 - draft4 with validate_formats = 1, no error when an unimplemented core format is used 460s ok 2 - draft6 with validate_formats = 1, no error when an unimplemented core format is used 460s ok 3 - draft7 with validate_formats = 1, no error when an unimplemented core format is used 460s ok 4 - draft2019-09 with validate_formats = 1, no error when an unimplemented core format is used 460s ok 5 - draft2020-12 with validate_formats = 1, no error when an unimplemented core format is used 460s ok 6 - draft2020-12 with Format-Assertion vocabulary: error when an unimplemented core format is used 460s ok 7 - draft2020-12 with Format-Assertion vocabulary: error is seen even when containing subschema would be true 460s 1..7 460s ok 7 - unimplemented core formats 460s # Subtest: unknown custom formats 460s ok 1 - draft4: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 460s ok 2 - draft6: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 460s ok 3 - draft7: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 460s ok 4 - draft2019-09: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure; annotation is still produced 460s ok 5 - draft2020-12: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure; annotation is still produced 460s ok 6 - draft2020-12: for format validation with the Format-Assertion vocabulary, unrecognized format attributes are detected at traverse time 460s 1..6 460s ok 8 - unknown custom formats 460s # Subtest: format: pure_integer 460s ok 1 - pure_integer format with type 460s ok 2 - pure_integer format without type 460s 1..2 460s ok 9 - format: pure_integer 460s # Subtest: formats supporting multiple core types 460s ok 1 - int64 format without type - accepts both numbers and strings 460s ok 2 - int64 format without type - accepts both numbers and strings 460s 1..2 460s ok 10 - formats supporting multiple core types 460s # Subtest: stringy numbers with a numeric format 460s ok 1 - FormatAnnotation+validate_formats: strings that look like numbers can be validated against a numeric format when stringy_numbers=1 460s ok 2 - FormatAssertion: strings that look like numbers can be validated against a numeric format when stringy_numbers=1 460s 1..2 460s ok 11 - stringy numbers with a numeric format 460s 1..11 460s ok 460s t/invalid-schemas-draft2019-09.t ........ 460s # AUTHOR_TESTING: 460s # AUTOMATED_TESTING: 1 460s # EXTENDED_TESTING: 460s # NO_TODO: 460s # TEST_DIR: 460s # NO_SHORT_CIRCUIT: 460s # 460s # running tests in /tmp/autopkgtest.DjlJoo/autopkgtest_tmp/smoked4Icf7/t/invalid-schemas-draft2019-09 against draft2019-09... 460s # 460s ok 1 - invalid-input.json: "invalid user input: type (string)" - "graceful error from 'type' (string)" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "type value is not a string", 460s # "instanceLocation": "", 460s # "keywordLocation": "/type" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "type value is not a string", 460s # "instanceLocation": "", 460s # "keywordLocation": "/type" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s ok 2 - invalid-input.json: "invalid user input: type (array)" - "graceful error from 'type' (array)" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "unrecognized type \"\"", 460s # "instanceLocation": "", 460s # "keywordLocation": "/type" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "unrecognized type \"\"", 460s # "instanceLocation": "", 460s # "keywordLocation": "/type" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s # 460s ok 3 - ref.json: "invalid $ref: unencoded characters" - "unencoded characters in $ref uri" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "$ref value is not a valid URI reference", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$defs/foo/$ref" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "$ref value is not a valid URI reference", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$defs/foo/$ref" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s ok 4 - ref.json: "invalid $ref: non-ascii characters" - "non-ascii characters in $ref uri" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "$ref value is not a valid URI reference", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$defs/foo/$ref" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "$ref value is not a valid URI reference", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$defs/foo/$ref" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s # 460s ok 5 - vocabulary.json: "invalid $vocabulary: need boolean values" - "an invalid $vocabulary value (value should be a boolean)" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "$vocabulary value at \"https://foo.com\" is not a boolean", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/https:~1~1foo.com" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "$vocabulary value at \"https://foo.com\" is not a boolean", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/https:~1~1foo.com" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s ok 6 - vocabulary.json: "invalid $vocabulary: uri must not have unencoded characters" - "unencoded characters in $vocabulary uri" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "\"http://foo^bar/path\" is not a valid URI", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/http:~1~1foo^bar~1path" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "\"http://foo^bar/path\" is not a valid URI", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/http:~1~1foo^bar~1path" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s ok 7 - vocabulary.json: "invalid $vocabulary: non-ascii characters in uri" - "non-ascii characters in $vocabulary uri" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "\"https://ಠ_ಠ.com\" is not a valid URI", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/https:~1~1ಠ_ಠ.com" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "\"https://ಠ_ಠ.com\" is not a valid URI", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/https:~1~1ಠ_ಠ.com" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s ok 8 - vocabulary.json: "invalid $vocabulary: missing scheme" - "$vocabulary uri is missing a scheme" { 460s # result: { 460s # "errors": [ 460s # { 460s # "error": "\"foo.com\" is not a valid URI", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/foo.com" 460s # } 460s # ], 460s # "valid": false 460s # } 460s # short-circuited result: { 460s # "errors": [ 460s # { 460s # "error": "\"foo.com\" is not a valid URI", 460s # "instanceLocation": "", 460s # "keywordLocation": "/$vocabulary/foo.com" 460s # } 460s # ], 460s # "valid": false 460s # } 460s ok 1 - test passes: data is valid: false 460s 1..1 460s } 460s # 460s # 460s # generated with: Test::JSON::Schema::Acceptance 1.026 460s # specification version: draft2019-09 460s # using custom test directory: t/invalid-schemas-draft2019-09 460s # optional tests included: no 460s # 460s # filename pass todo-fail fail 460s # --------------------------------------------------------------- 460s # invalid-input.json 2 0 0 460s # ref.json 2 0 0 460s # vocabulary.json 4 0 0 460s # --------------------------------------------------------------- 460s # TOTAL 8 0 0 460s # 460s # Congratulations, all non-optional tests are passing! 460s # 460s ok 9 - no leaks in the main evaluator object 460s ok 10 - no leaks in the short-circuiting evaluator object 460s 1..10 460s ok 461s t/max_traversal_depth.t ................. 461s ok 1 - evaluation is halted when traversal gets too deep 461s ok 2 - evaluation is halted when an instance location is evaluated against the same schema location a second time 461s ok 3 - the seen counter does not confuse URI paths and fragments: /properties/foo vs \#/properties/foo 461s ok 4 - the seen counter does not confuse two subschemas that both apply the same definition to the same instance location 461s 1..4 461s ok 461s t/multipleOf.t .......................... 461s # Subtest: multipleOf, native types 461s ok 1 - 4 is a multiple of 2 461s ok 2 - 4 is a multiple of 1 461s ok 3 - 4 is not a multiple of 3 461s ok 4 - 4.5 is a multiple of 1.5 461s ok 5 - 4.5 is not a multiple of 1 461s ok 6 - 4.5 is not a multiple of 3 461s ok 7 - 4 is a multiple of 2 461s ok 8 - 4 is not a multiple of 2.5 461s ok 9 - 5 is a multiple of 2.5 461s ok 10 - 4.5 is a multiple of 2.25 461s ok 11 - 4.5 is not a multiple of 2.5 461s ok 12 - 4.5 is not a multiple of 2 461s ok 13 - -9223372036854775808 is a multiple of 0.5 461s ok 14 - 9223372036854775807 is a multiple of 0.5 461s ok 15 - 18446744073709551615 is a multiple of 0.5 461s 1..15 461s ok 1 - multipleOf, native types 461s # Subtest: multipleOf, data is a bignum 461s ok 1 - 4 is a multiple of 2 461s ok 2 - 4 is a multiple of 1 461s ok 3 - 4 is not a multiple of 3 461s ok 4 - 4.5 is a multiple of 1.5 461s ok 5 - 4.5 is not a multiple of 1 461s ok 6 - 4.5 is not a multiple of 3 461s ok 7 - 4 is a multiple of 2 461s ok 8 - 4 is not a multiple of 2.5 461s ok 9 - 5 is a multiple of 2.5 461s ok 10 - 4.5 is a multiple of 2.25 461s ok 11 - 4.5 is not a multiple of 2.5 461s ok 12 - 4.5 is not a multiple of 2 461s ok 13 - -9223372036854775808 is a multiple of 0.5 461s ok 14 - 9223372036854775807 is a multiple of 0.5 461s ok 15 - 18446744073709551615 is a multiple of 0.5 461s 1..15 461s ok 2 - multipleOf, data is a bignum 461s # Subtest: multipleOf, multipleOf is a bignum 461s ok 1 - 4 is a multiple of 2 461s ok 2 - 4 is a multiple of 1 461s ok 3 - 4 is not a multiple of 3 461s ok 4 - 4.5 is a multiple of 1.5 461s ok 5 - 4.5 is not a multiple of 1 461s ok 6 - 4.5 is not a multiple of 3 461s ok 7 - 4 is a multiple of 2 461s ok 8 - 4 is not a multiple of 2.5 461s ok 9 - 5 is a multiple of 2.5 461s ok 10 - 4.5 is a multiple of 2.25 461s ok 11 - 4.5 is not a multiple of 2.5 461s ok 12 - 4.5 is not a multiple of 2 461s ok 13 - -9223372036854775808 is a multiple of 0.5 461s ok 14 - 9223372036854775807 is a multiple of 0.5 461s ok 15 - 18446744073709551615 is a multiple of 0.5 461s 1..15 461s ok 3 - multipleOf, multipleOf is a bignum 461s # Subtest: multipleOf, data and multipleOf are bignums 461s ok 1 - 4 is a multiple of 2 461s ok 2 - 4 is a multiple of 1 461s ok 3 - 4 is not a multiple of 3 461s ok 4 - 4.5 is a multiple of 1.5 461s ok 5 - 4.5 is not a multiple of 1 461s ok 6 - 4.5 is not a multiple of 3 461s ok 7 - 4 is a multiple of 2 461s ok 8 - 4 is not a multiple of 2.5 461s ok 9 - 5 is a multiple of 2.5 461s ok 10 - 4.5 is a multiple of 2.25 461s ok 11 - 4.5 is not a multiple of 2.5 461s ok 12 - 4.5 is not a multiple of 2 461s ok 13 - -9223372036854775808 is a multiple of 0.5 461s ok 14 - 9223372036854775807 is a multiple of 0.5 461s ok 15 - 18446744073709551615 is a multiple of 0.5 461s 1..15 461s ok 4 - multipleOf, data and multipleOf are bignums 461s 1..4 461s ok 462s t/output_format.t ....................... 462s ok 1 - output_format defaults to basic 462s ok 2 - Result object gets the output_format from the evaluator 462s ok 3 - basic format includes all errors linearly 462s ok 4 - flag format only includes the valid property 462s ok 5 - terse format omits errors from redundant applicator keywords 462s ok 6 - basic format includes all errors linearly 462s ok 7 - terse format does not omit these crucial errors 462s # Subtest: strict_basic 462s ok 1 - strict_basic turns json pointers into URIs, including uri escapes 462s 1..1 462s ok 8 - strict_basic 462s # Subtest: AND two result objects together 462s ok 1 - ANDing true and false results = invalid, but errors and annotations both preserved 462s ok 2 - ANDing two true results = valid 462s ok 3 - ANDing two false results = invalid 462s ok 4 - only Result objects can be processed 462s ok 5 - ANDing a result with itself is a no-op 462s 1..5 462s ok 9 - AND two result objects together 462s # Subtest: annotations 462s ok 1 - by default, annotations are included in the formatted output 462s ok 2 - but inclusion can be disabled 462s 1..2 462s ok 10 - annotations 462s # Subtest: data_only 462s ok 1 - data_only format outputs a string of data locations only, with duplicates removed 462s ok 2 - data_only format uses keyword locations when result came from traverse 462s 1..2 462s ok 11 - data_only 462s 1..11 462s ok 462s t/pattern.t ............................. 462s ok 1 - unchanged LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 462s ok 2 - unchanged LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 462s ok 3 - upgraded LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 462s ok 4 - upgraded LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 462s ok 5 - downgraded LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 462s ok 6 - downgraded LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 462s # Subtest: empty pattern 462s ok 1 - empty pattern in "pattern" will correctly match 462s ok 2 - empty pattern in "patternProperties" will correctly match 462s 1..2 462s ok 7 - empty pattern 462s 1..7 462s ok 463s t/ref.t ................................. 463s # Subtest: local JSON pointer 463s ok 1 - can follow local $ref to a true schema 463s ok 2 - can follow local $ref to a false schema 463s ok 3 - got error for unresolvable ref 463s ok 4 - no exception 463s 1..4 463s ok 1 - local JSON pointer 463s # Subtest: fragment with URI-escaped and JSON Pointer-escaped characters 463s ok 1 - can follow $ref with escaped components 463s 1..1 463s ok 2 - fragment with URI-escaped and JSON Pointer-escaped characters 463s # Subtest: local anchor 463s ok 1 - can follow local $ref to an $anchor to a true schema 463s ok 2 - can follow local $ref to an $anchor to a false schema 463s ok 3 - got error for unresolvable ref 463s ok 4 - no exception 463s 1..4 463s ok 3 - local anchor 463s # Subtest: $id with an empty fragment 463s ok 1 - $id with empty fragment can be found by $ref that did not include it; fragment not included in error either 463s 1..1 463s ok 4 - $id with an empty fragment 463s # Subtest: $recursiveRef without nesting behaves like $ref 463s ok 1 - $recursiveRef without nested $recursiveAnchor behaves like $ref 463s 1..1 463s ok 5 - $recursiveRef without nesting behaves like $ref 463s # Subtest: $recursiveRef without $recursiveAnchor behaves like $ref 463s ok 1 - $recursiveRef without $recursiveAnchor behaves like $ref 463s 1..1 463s ok 6 - $recursiveRef without $recursiveAnchor behaves like $ref 463s # Subtest: $recursiveAnchor must be at a schema resource root 463s ok 1 - $recursiveAnchor can only appear at a schema resource root 463s ok 2 - schema now valid when an $id is added 463s ok 3 - $recursiveAnchor can only appear at a schema resource root 463s ok 4 - properly detecting a bad $recursiveAnchor even before passing through a $ref 463s 1..4 463s ok 7 - $recursiveAnchor must be at a schema resource root 463s # Subtest: $recursiveAnchor and $recursiveRef - standard usecases 463s ok 1 - validation requires the override that is not in scope 463s ok 2 - $recursiveRef requires a $recursiveAnchor that does not exist 463s ok 3 - $recursiveRef with both $recursiveAnchors in scope 463s 1..3 463s ok 8 - $recursiveAnchor and $recursiveRef - standard usecases 463s # Subtest: $recursiveRef without $recursiveAnchor 463s ok 1 - $ref - one level recursion 463s ok 2 - $recursiveRef with no $recursiveAnchor in scope has the same outcome 463s 1..2 463s ok 9 - $recursiveRef without $recursiveAnchor 463s # Subtest: $recursiveAnchor in our dynamic scope, but not in the target schema 463s ok 1 - $recursiveAnchor does not exist in the target schema - local recursion only, so integers match 463s ok 2 - $recursiveAnchor does not exist in the target schema - no recursion 463s ok 3 - $recursiveAnchor does not exist in the target schema - local recursion only 463s 1..3 463s ok 10 - $recursiveAnchor in our dynamic scope, but not in the target schema 463s # Subtest: $dynamicRef without nesting behaves like $ref 463s ok 1 - $dynamicRef without nested $dynamicAnchor behaves like $ref 463s 1..1 463s ok 11 - $dynamicRef without nesting behaves like $ref 463s # Subtest: $recursiveRef without $dynamicAnchor behaves like $ref 463s ok 1 - $dynamicRef without $dynamicAnchor behaves like $ref 463s 1..1 463s ok 12 - $recursiveRef without $dynamicAnchor behaves like $ref 463s # Subtest: $dynamicAnchor and $dynamicRef - standard usecases 463s ok 1 - validation requires the override that is not in scope 463s ok 2 - $dynamicRef requires a $dynamicAnchor that does not exist 463s ok 3 - $dynamicRef must use a URI containing the dynamic anchor fragment 463s ok 4 - there is no outer $dynamicAnchor in scope to recurse to 463s ok 5 - we have an outer $dynamicAnchor, and are using the fragment URI, but we used $ref rather than $dynamicRef 463s ok 6 - there is an outer $dynamicAnchor in scope to recurse to, but $dynamicRef must use a URI containing the dynamic anchor fragment 463s ok 7 - now everything is in place to recurse to the base 463s ok 8 - there is no $dynamicAnchor at the original target, and no anchor used in the target URI 463s 1..8 463s ok 13 - $dynamicAnchor and $dynamicRef - standard usecases 463s # Subtest: $dynamicRef to $dynamicAnchor not directly in the evaluation path 463s ok 1 - second dynamic anchor is not in the evaluation path, but we found it via dynamic scope - type does not match 463s ok 2 - regular $anchor in dynamic scope should not be used by $dynamicRef 463s ok 3 - some other $dynamicAnchor in dynamic scope should not be used by $dynamicRef 463s ok 4 - second dynamic anchor is not in the evaluation path, but we found it via dynamic scope - type matches 463s ok 5 - the first dynamic scope is set by document uri, not just the $id keyword 463s 1..5 463s ok 14 - $dynamicRef to $dynamicAnchor not directly in the evaluation path 463s # Subtest: after leaving a dynamic scope, it should not be used by a $dynamicRef 463s ok 1 - first_scope is no longer in scope, so it is not used by $dynamicRef 463s 1..1 463s ok 15 - after leaving a dynamic scope, it should not be used by a $dynamicRef 463s # Subtest: anchors do not match 463s ok 1 - $dynamicRef goes to enhanced schema 463s ok 2 - $dynamicRef -> $dynamicAnchor -> $anchor is a no go: we stay at the original schema 463s 1..2 463s ok 16 - anchors do not match 463s # Subtest: reference to a non-schema location 463s ok 1 - $ref to a non-schema is not permitted 463s ok 2 - $dynamicRef to a non-schema is not permitted 463s ok 3 - $recursiveRef to a non-schema is not permitted 463s ok 4 - $schema to a non-schema is not permitted 463s 1..4 463s ok 17 - reference to a non-schema location 463s # Subtest: evaluate at a non-schema location 463s ok 1 - evaluating at a non-schema location is not permitted 463s 1..1 463s ok 18 - evaluate at a non-schema location 463s 1..18 463s ok 464s t/serialization.t ....................... 464s # Seeded srand with seed '20241116' from local date. 464s ok 1 - evaluated against an empty schema 464s ok 2 - evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 464s ok 3 - evaluate data against schema with custom dialect; format-annotation is used 464s ok 4 - frozen object contains all the right keys 464s ok 5 - thawed object contains all the right keys 464s ok 6 - evaluate again against an empty schema 464s ok 7 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 464s ok 8 - evaluate again against an empty schema 464s ok 9 - core vocabulary_class for a different spec version works in a thawed object 464s ok 10 - format-assertion vocabulary_class works in a thawed object 464s ok 11 - metaschema_vocabulary_classes works in a thawed object 464s ok 12 - media_type works in a thawed object 464s ok 13 - encoding works in a thawed object 464s # Subtest: thaw object in a separate process 464s ok 1 - thawed object in a new process contains all the right keys 464s ok 2 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 464s ok 3 - evaluate data against schema with custom dialect; format-assertion is used 464s 1..3 464s ok 14 - thaw object in a separate process 464s ok 15 - child process finished successfully 464s 1..15 464s ok 465s t/specification_version.t ............... 465s ok 1 - unrecognized $SPECIFICATION_VERSION 465s # Subtest: specification aliases 465s ok 1 - 2020-12 is an alias for draft2020-12 465s ok 2 - 2019-09 is an alias for draft2019-09 465s ok 3 - 7 is an alias for draft7 465s 1..3 465s ok 2 - specification aliases 465s # Subtest: $ref and older specification versions 465s ok 1 - $schema and $ref cannot be used together, when $schema is too old 465s 1..1 465s ok 3 - $ref and older specification versions 465s # Subtest: <= draft7: $ref in combination with any other keyword causes the other keywords to be ignored 465s ok 1 - keywords adjacent to $ref are not evaluated 465s 1..1 465s ok 4 - <= draft7: $ref in combination with any other keyword causes the other keywords to be ignored 465s # Subtest: $ref adjacent to a path used in a $ref 465s ok 1 - the presence of $ref also blocks the use of other $refs to adjacent locations 465s 1..1 465s ok 5 - $ref adjacent to a path used in a $ref 465s # Subtest: $defs support 465s ok 1 - $defs is not recognized in <= draft7 465s ok 2 - $defs is supported in > draft7 465s 1..2 465s ok 6 - $defs support 465s # Subtest: definitions support 465s ok 1 - definitions is not recognized in >= draft2019-09 465s ok 2 - warned when using no-longer-supported keyword 465s ok 3 - definitions is supported in <= draft7 465s 1..3 465s ok 7 - definitions support 465s # Subtest: dependencies, dependentRequired, dependentSchemas 465s ok 1 - dependencies is not recognized in >= draft2019-09 465s ok 2 - warned when using no-longer-supported keyword 465s ok 3 - dependentRequired is supported in >= draft2019-09 465s ok 4 - dependentSchemas is supported in >= draft2019-09 465s ok 5 - dependencies is supported in <= draft7 465s ok 6 - dependentRequired is not recognized in <= draft7 465s ok 7 - dependentSchemas is not recognized in <= draft7 465s 1..7 465s ok 8 - dependencies, dependentRequired, dependentSchemas 465s # Subtest: prefixItems, items and additionalItems 465s ok 1 - prefixitems+items works when specification_version >= draft2020-12 465s ok 2 - array form of items not supported when specification_version >= draft2020-12 465s ok 3 - additionalitems not recognized when specification_version >= draft2020-12 465s ok 4 - warned when using no-longer-supported keyword 465s ok 5 - prefixitems not supported when specification_version specifies other than draft2020-12 465s ok 6 - array-based items in >= draft2020-12 465s ok 7 - prefixItems + additionalItems 465s ok 8 - warned when using no-longer-supported keyword 465s ok 9 - prefixItems + schema-based items 465s ok 10 - schema-based items + additionalItems, failure case 465s ok 11 - warned when using no-longer-supported keyword 465s ok 12 - schema-based items + additionalItems, passing case 465s ok 13 - warned when using no-longer-supported keyword 465s 1..13 465s ok 9 - prefixItems, items and additionalItems 465s 1..9 465s ok 466s t/strict.t .............................. 466s ok 1 - strict defaults to false 466s ok 2 - by default, unknown keywords are allowed in evaluate() 466s ok 3 - strict mode disallows unknown keywords during evaluation via a config override 466s ok 4 - by default, unknown keywords are allowed in validate_schema() 466s ok 5 - strict mode disallows unknown keywords in validate_schema() via a config override 466s ok 6 - strict mode disallows unknown keywords during evaluation, even if the document was already traversed 466s ok 7 - strict mode disallows unknown keywords in the schema data passed to validate_schema() 466s ok 8 - strict mode disallows unknown keywords during traverse 466s ok 9 - strict mode only detected one property this time - bloop is evaluated 466s ok 10 - strict mode detects unknown keywords using draft7 466s 1..10 466s ok 466s t/stringy-numbers.t ..................... 466s # stringy_numbers = 0 466s ok 1 - strings cannot be used in place of numbers in schema for multipleOf 466s ok 2 - strings cannot be used in place of numbers in schema for maximum 466s ok 3 - strings cannot be used in place of numbers in schema for exclusiveMaximum 466s ok 4 - strings cannot be used in place of numbers in schema for minimum 466s ok 5 - strings cannot be used in place of numbers in schema for exclusiveMinimum 466s ok 6 - strings that do not look like numbers are never valid as numbers 466s ok 7 - by default "type": "string" does not accept numbers 466s ok 8 - real numbers are always evaluated 466s ok 9 - by default, stringy numbers are not evaluated by numeric keywords 466s ok 10 - data was not mutated 466s ok 11 - by default, stringy numbers are not the same as numbers using comparison keywords 466s ok 12 - data was not mutated 466s # stringy_numbers = 1 466s ok 13 - strings cannot be used in place of numbers in schema for multipleOf 466s ok 14 - strings cannot be used in place of numbers in schema for maximum 466s ok 15 - strings cannot be used in place of numbers in schema for exclusiveMaximum 466s ok 16 - strings cannot be used in place of numbers in schema for minimum 466s ok 17 - strings cannot be used in place of numbers in schema for exclusiveMinimum 466s ok 18 - strings that do not look like numbers are never valid as numbers 466s ok 19 - using stringy numbers, numeric strings are treated as numbers but are still not always integers 466s ok 20 - real numbers are always evaluated 466s ok 21 - with the config enabled, stringy numbers are treated as numbers by numeric keywords 466s ok 22 - data was not mutated 466s ok 23 - with the config enabled, stringy numbers are the same as numbers using comparison keywords 466s ok 24 - data was not mutated 466s 1..24 466s ok 467s t/traverse.t ............................ 467s # Subtest: traversal with callbacks 467s ok 1 - errors encountered during traversal are returned 467s ok 2 - callback for erroneous keyword was not called 467s ok 3 - extracted all the real $refs out of the schema, with locations and canonical targets 467s ok 4 - identified all subschemas 467s 1..4 467s ok 1 - traversal with callbacks 467s # Subtest: errors when parsing $schema keyword 467s ok 1 - $schema is not a string 467s ok 2 - $schema is not a URI 467s 1..2 467s ok 2 - errors when parsing $schema keyword 467s # Subtest: default metaschema 467s ok 1 - dialect is properly determined 467s ok 2 - error within $defs is found, showing both Core and Applicator vocabularies are used 467s 1..2 467s ok 3 - default metaschema 467s # Subtest: traversing a dialect with different core keywords 467s ok 1 - dialect changes at root, with $id - dialect is switched in time to get a new keyword list for the core vocabulary 467s ok 2 - no errors when parsing this schema 467s ok 3 - switched dialect in time to extract all identifiers, from root and definition 467s ok 4 - dialect changes at root, no $id - dialect is switched in time to get a new keyword list for the core vocabulary 467s ok 5 - dialect changes below root - dialect is switched in time to get a new keyword list for the core vocabulary 467s 1..5 467s ok 4 - traversing a dialect with different core keywords 467s # Subtest: $schema without an $id, below the root 467s ok 1 - $schema cannot exist without an $id, or at the root 467s 1..1 467s ok 5 - $schema without an $id, below the root 467s # Subtest: traverse with overridden metaschema_uri 467s ok 1 - metaschema_uri is overridden with a bad schema: same errors are returned 467s ok 2 - metaschema_uri is overridden with a bad schema: errors contain the right locations 467s ok 3 - metaschema_uri is overridden with a bad schema and there is a traversal path: errors contain the right locations 467s ok 4 - determined vocabularies to use for this schema 467s 1..4 467s ok 6 - traverse with overridden metaschema_uri 467s # Subtest: start traversing below the document root 467s ok 1 - identified the overridden location of all errors during traverse 467s ok 2 - identifiers are correctly extracted when traversing below the document root 467s 1..2 467s ok 7 - start traversing below the document root 467s 1..7 467s ok 467s t/type.t ................................ 467s # Subtest: inflated data, type: array 467s ok 1 - is_type("array", []) is true 467s ok 2 - get_type([]) = array 467s ok 3 - is_type("boolean", []) is false 467s ok 4 - is_type("integer", []) is false 467s ok 5 - is_type("null", []) is false 467s ok 6 - is_type("number", []) is false 467s ok 7 - is_type("object", []) is false 467s ok 8 - is_type("string", []) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("array", [1]) is true 467s ok 11 - get_type([1]) = array 467s ok 12 - is_type("boolean", [1]) is false 467s ok 13 - is_type("integer", [1]) is false 467s ok 14 - is_type("null", [1]) is false 467s ok 15 - is_type("number", [1]) is false 467s ok 16 - is_type("object", [1]) is false 467s ok 17 - is_type("string", [1]) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 1 - inflated data, type: array 467s # Subtest: inflated data, type: boolean 467s ok 1 - is_type("boolean", false) is true 467s ok 2 - get_type(false) = boolean 467s ok 3 - is_type("array", false) is false 467s ok 4 - is_type("integer", false) is false 467s ok 5 - is_type("null", false) is false 467s ok 6 - is_type("number", false) is false 467s ok 7 - is_type("object", false) is false 467s ok 8 - is_type("string", false) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("boolean", true) is true 467s ok 11 - get_type(true) = boolean 467s ok 12 - is_type("array", true) is false 467s ok 13 - is_type("integer", true) is false 467s ok 14 - is_type("null", true) is false 467s ok 15 - is_type("number", true) is false 467s ok 16 - is_type("object", true) is false 467s ok 17 - is_type("string", true) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 2 - inflated data, type: boolean 467s # Subtest: inflated data, type: integer 467s ok 1 - is_type("integer", 0) is true 467s ok 2 - is_type("number", 0) is true 467s ok 3 - get_type(0) = integer 467s ok 4 - is_type("array", 0) is false 467s ok 5 - is_type("boolean", 0) is false 467s ok 6 - is_type("null", 0) is false 467s ok 7 - is_type("object", 0) is false 467s ok 8 - is_type("string", 0) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("integer", -1) is true 467s ok 11 - is_type("number", -1) is true 467s ok 12 - get_type(-1) = integer 467s ok 13 - is_type("array", -1) is false 467s ok 14 - is_type("boolean", -1) is false 467s ok 15 - is_type("null", -1) is false 467s ok 16 - is_type("object", -1) is false 467s ok 17 - is_type("string", -1) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s ok 19 - is_type("integer", 2) is true 467s ok 20 - is_type("number", 2) is true 467s ok 21 - get_type(2) = integer 467s ok 22 - is_type("array", 2) is false 467s ok 23 - is_type("boolean", 2) is false 467s ok 24 - is_type("null", 2) is false 467s ok 25 - is_type("object", 2) is false 467s ok 26 - is_type("string", 2) is false 467s ok 27 - data is not tampered with while it is tested (not dualvar) 467s ok 28 - is_type("integer", 2.0) is true 467s ok 29 - is_type("number", 2.0) is true 467s ok 30 - get_type(2.0) = integer 467s ok 31 - is_type("array", 2.0) is false 467s ok 32 - is_type("boolean", 2.0) is false 467s ok 33 - is_type("null", 2.0) is false 467s ok 34 - is_type("object", 2.0) is false 467s ok 35 - is_type("string", 2.0) is false 467s ok 36 - data is not tampered with while it is tested (not dualvar) 467s ok 37 - is_type("integer", 2147483647) is true 467s ok 38 - is_type("number", 2147483647) is true 467s ok 39 - get_type(2147483647) = integer 467s ok 40 - is_type("array", 2147483647) is false 467s ok 41 - is_type("boolean", 2147483647) is false 467s ok 42 - is_type("null", 2147483647) is false 467s ok 43 - is_type("object", 2147483647) is false 467s ok 44 - is_type("string", 2147483647) is false 467s ok 45 - data is not tampered with while it is tested (not dualvar) 467s ok 46 - is_type("integer", 2147483648.0) is true 467s ok 47 - is_type("number", 2147483648.0) is true 467s ok 48 - get_type(2147483648.0) = integer 467s ok 49 - is_type("array", 2147483648.0) is false 467s ok 50 - is_type("boolean", 2147483648.0) is false 467s ok 51 - is_type("null", 2147483648.0) is false 467s ok 52 - is_type("object", 2147483648.0) is false 467s ok 53 - is_type("string", 2147483648.0) is false 467s ok 54 - data is not tampered with while it is tested (not dualvar) 467s ok 55 - is_type("integer", 9.22337203685478e+18) is true 467s ok 56 - is_type("number", 9.22337203685478e+18) is true 467s ok 57 - get_type(9.22337203685478e+18) = integer 467s ok 58 - is_type("array", 9.22337203685478e+18) is false 467s ok 59 - is_type("boolean", 9.22337203685478e+18) is false 467s ok 60 - is_type("null", 9.22337203685478e+18) is false 467s ok 61 - is_type("object", 9.22337203685478e+18) is false 467s ok 62 - is_type("string", 9.22337203685478e+18) is false 467s ok 63 - data is not tampered with while it is tested (not dualvar) 467s ok 64 - is_type("integer", 9.22337203685478e+18) is true 467s ok 65 - is_type("number", 9.22337203685478e+18) is true 467s ok 66 - get_type(9.22337203685478e+18) = integer 467s ok 67 - is_type("array", 9.22337203685478e+18) is false 467s ok 68 - is_type("boolean", 9.22337203685478e+18) is false 467s ok 69 - is_type("null", 9.22337203685478e+18) is false 467s ok 70 - is_type("object", 9.22337203685478e+18) is false 467s ok 71 - is_type("string", 9.22337203685478e+18) is false 467s ok 72 - data is not tampered with while it is tested (not dualvar) 467s ok 73 - is_type("integer", 1.84467440737096e+19) is true 467s ok 74 - is_type("number", 1.84467440737096e+19) is true 467s ok 75 - get_type(1.84467440737096e+19) = integer 467s ok 76 - is_type("array", 1.84467440737096e+19) is false 467s ok 77 - is_type("boolean", 1.84467440737096e+19) is false 467s ok 78 - is_type("null", 1.84467440737096e+19) is false 467s ok 79 - is_type("object", 1.84467440737096e+19) is false 467s ok 80 - is_type("string", 1.84467440737096e+19) is false 467s ok 81 - data is not tampered with while it is tested (not dualvar) 467s ok 82 - is_type("integer", 3.68934881474191e+19) is true 467s ok 83 - is_type("number", 3.68934881474191e+19) is true 467s ok 84 - get_type(3.68934881474191e+19) = integer 467s ok 85 - is_type("array", 3.68934881474191e+19) is false 467s ok 86 - is_type("boolean", 3.68934881474191e+19) is false 467s ok 87 - is_type("null", 3.68934881474191e+19) is false 467s ok 88 - is_type("object", 3.68934881474191e+19) is false 467s ok 89 - is_type("string", 3.68934881474191e+19) is false 467s ok 90 - data is not tampered with while it is tested (not dualvar) 467s ok 91 - is_type("integer", 1000000000000000) is true 467s ok 92 - is_type("number", 1000000000000000) is true 467s ok 93 - get_type(1000000000000000) = integer 467s ok 94 - is_type("array", 1000000000000000) is false 467s ok 95 - is_type("boolean", 1000000000000000) is false 467s ok 96 - is_type("null", 1000000000000000) is false 467s ok 97 - is_type("object", 1000000000000000) is false 467s ok 98 - is_type("string", 1000000000000000) is false 467s ok 99 - data is not tampered with while it is tested (not dualvar) 467s ok 100 - is_type("integer", Math::BigInt->new('100000000000000000000')) is true 467s ok 101 - is_type("number", Math::BigInt->new('100000000000000000000')) is true 467s ok 102 - get_type(Math::BigInt->new('100000000000000000000')) = integer 467s ok 103 - is_type("array", Math::BigInt->new('100000000000000000000')) is false 467s ok 104 - is_type("boolean", Math::BigInt->new('100000000000000000000')) is false 467s ok 105 - is_type("null", Math::BigInt->new('100000000000000000000')) is false 467s ok 106 - is_type("object", Math::BigInt->new('100000000000000000000')) is false 467s ok 107 - is_type("string", Math::BigInt->new('100000000000000000000')) is false 467s ok 108 - data is not tampered with while it is tested (not dualvar) 467s 1..108 467s ok 3 - inflated data, type: integer 467s # Subtest: inflated data, type: null 467s ok 1 - is_type("null", null) is true 467s ok 2 - get_type(null) = null 467s ok 3 - is_type("array", null) is false 467s ok 4 - is_type("boolean", null) is false 467s ok 5 - is_type("integer", null) is false 467s ok 6 - is_type("number", null) is false 467s ok 7 - is_type("object", null) is false 467s ok 8 - is_type("string", null) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s 1..9 467s ok 4 - inflated data, type: null 467s # Subtest: inflated data, type: number 467s ok 1 - is_type("number", 3.1) is true 467s ok 2 - get_type(3.1) = number 467s ok 3 - is_type("array", 3.1) is false 467s ok 4 - is_type("boolean", 3.1) is false 467s ok 5 - is_type("integer", 3.1) is false 467s ok 6 - is_type("null", 3.1) is false 467s ok 7 - is_type("object", 3.1) is false 467s ok 8 - is_type("string", 3.1) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("number", 12345678901.2) is true 467s ok 11 - get_type(12345678901.2) = number 467s ok 12 - is_type("array", 12345678901.2) is false 467s ok 13 - is_type("boolean", 12345678901.2) is false 467s ok 14 - is_type("integer", 12345678901.2) is false 467s ok 15 - is_type("null", 12345678901.2) is false 467s ok 16 - is_type("object", 12345678901.2) is false 467s ok 17 - is_type("string", 12345678901.2) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s ok 19 - is_type("number", Math::BigFloat->new('0.123')) is true 467s ok 20 - get_type(Math::BigFloat->new('0.123')) = number 467s ok 21 - is_type("array", Math::BigFloat->new('0.123')) is false 467s ok 22 - is_type("boolean", Math::BigFloat->new('0.123')) is false 467s ok 23 - is_type("integer", Math::BigFloat->new('0.123')) is false 467s ok 24 - is_type("null", Math::BigFloat->new('0.123')) is false 467s ok 25 - is_type("object", Math::BigFloat->new('0.123')) is false 467s ok 26 - is_type("string", Math::BigFloat->new('0.123')) is false 467s ok 27 - data is not tampered with while it is tested (not dualvar) 467s 1..27 467s ok 5 - inflated data, type: number 467s # Subtest: inflated data, type: object 467s ok 1 - is_type("object", {}) is true 467s ok 2 - get_type({}) = object 467s ok 3 - is_type("array", {}) is false 467s ok 4 - is_type("boolean", {}) is false 467s ok 5 - is_type("integer", {}) is false 467s ok 6 - is_type("null", {}) is false 467s ok 7 - is_type("number", {}) is false 467s ok 8 - is_type("string", {}) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("object", {"a" : 1}) is true 467s ok 11 - get_type({"a" : 1}) = object 467s ok 12 - is_type("array", {"a" : 1}) is false 467s ok 13 - is_type("boolean", {"a" : 1}) is false 467s ok 14 - is_type("integer", {"a" : 1}) is false 467s ok 15 - is_type("null", {"a" : 1}) is false 467s ok 16 - is_type("number", {"a" : 1}) is false 467s ok 17 - is_type("string", {"a" : 1}) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 6 - inflated data, type: object 467s # Subtest: inflated data, type: string 467s ok 1 - is_type("string", "") is true 467s ok 2 - get_type("") = string 467s ok 3 - is_type("array", "") is false 467s ok 4 - is_type("boolean", "") is false 467s ok 5 - is_type("integer", "") is false 467s ok 6 - is_type("null", "") is false 467s ok 7 - is_type("number", "") is false 467s ok 8 - is_type("object", "") is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("string", "0") is true 467s ok 11 - get_type("0") = string 467s ok 12 - is_type("array", "0") is false 467s ok 13 - is_type("boolean", "0") is false 467s ok 14 - is_type("integer", "0") is false 467s ok 15 - is_type("null", "0") is false 467s ok 16 - is_type("number", "0") is false 467s ok 17 - is_type("object", "0") is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s ok 19 - is_type("string", "-1") is true 467s ok 20 - get_type("-1") = string 467s ok 21 - is_type("array", "-1") is false 467s ok 22 - is_type("boolean", "-1") is false 467s ok 23 - is_type("integer", "-1") is false 467s ok 24 - is_type("null", "-1") is false 467s ok 25 - is_type("number", "-1") is false 467s ok 26 - is_type("object", "-1") is false 467s ok 27 - data is not tampered with while it is tested (not dualvar) 467s ok 28 - is_type("string", "2") is true 467s ok 29 - get_type("2") = string 467s ok 30 - is_type("array", "2") is false 467s ok 31 - is_type("boolean", "2") is false 467s ok 32 - is_type("integer", "2") is false 467s ok 33 - is_type("null", "2") is false 467s ok 34 - is_type("number", "2") is false 467s ok 35 - is_type("object", "2") is false 467s ok 36 - data is not tampered with while it is tested (not dualvar) 467s ok 37 - is_type("string", "2.0") is true 467s ok 38 - get_type("2.0") = string 467s ok 39 - is_type("array", "2.0") is false 467s ok 40 - is_type("boolean", "2.0") is false 467s ok 41 - is_type("integer", "2.0") is false 467s ok 42 - is_type("null", "2.0") is false 467s ok 43 - is_type("number", "2.0") is false 467s ok 44 - is_type("object", "2.0") is false 467s ok 45 - data is not tampered with while it is tested (not dualvar) 467s ok 46 - is_type("string", "3.1") is true 467s ok 47 - get_type("3.1") = string 467s ok 48 - is_type("array", "3.1") is false 467s ok 49 - is_type("boolean", "3.1") is false 467s ok 50 - is_type("integer", "3.1") is false 467s ok 51 - is_type("null", "3.1") is false 467s ok 52 - is_type("number", "3.1") is false 467s ok 53 - is_type("object", "3.1") is false 467s ok 54 - data is not tampered with while it is tested (not dualvar) 467s ok 55 - is_type("string", "école") is true 467s ok 56 - get_type("école") = string 467s ok 57 - is_type("array", "école") is false 467s ok 58 - is_type("boolean", "école") is false 467s ok 59 - is_type("integer", "école") is false 467s ok 60 - is_type("null", "école") is false 467s ok 61 - is_type("number", "école") is false 467s ok 62 - is_type("object", "école") is false 467s ok 63 - data is not tampered with while it is tested (not dualvar) 467s ok 64 - is_type("string", "ಠ_ಠ") is true 467s ok 65 - get_type("ಠ_ಠ") = string 467s ok 66 - is_type("array", "ಠ_ಠ") is false 467s ok 67 - is_type("boolean", "ಠ_ಠ") is false 467s ok 68 - is_type("integer", "ಠ_ಠ") is false 467s ok 69 - is_type("null", "ಠ_ಠ") is false 467s ok 70 - is_type("number", "ಠ_ಠ") is false 467s ok 71 - is_type("object", "ಠ_ಠ") is false 467s ok 72 - data is not tampered with while it is tested (not dualvar) 467s 1..72 467s ok 7 - inflated data, type: string 467s # Subtest: JSON-encoded data, type: array 467s ok 1 - is_type("array", []) is true 467s ok 2 - get_type([]) = array 467s ok 3 - is_type("boolean", []) is false 467s ok 4 - is_type("integer", []) is false 467s ok 5 - is_type("null", []) is false 467s ok 6 - is_type("number", []) is false 467s ok 7 - is_type("object", []) is false 467s ok 8 - is_type("string", []) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("array", [1]) is true 467s ok 11 - get_type([1]) = array 467s ok 12 - is_type("boolean", [1]) is false 467s ok 13 - is_type("integer", [1]) is false 467s ok 14 - is_type("null", [1]) is false 467s ok 15 - is_type("number", [1]) is false 467s ok 16 - is_type("object", [1]) is false 467s ok 17 - is_type("string", [1]) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 8 - JSON-encoded data, type: array 467s # Subtest: JSON-encoded data, type: boolean 467s ok 1 - is_type("boolean", false) is true 467s ok 2 - get_type(false) = boolean 467s ok 3 - is_type("array", false) is false 467s ok 4 - is_type("integer", false) is false 467s ok 5 - is_type("null", false) is false 467s ok 6 - is_type("number", false) is false 467s ok 7 - is_type("object", false) is false 467s ok 8 - is_type("string", false) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("boolean", true) is true 467s ok 11 - get_type(true) = boolean 467s ok 12 - is_type("array", true) is false 467s ok 13 - is_type("integer", true) is false 467s ok 14 - is_type("null", true) is false 467s ok 15 - is_type("number", true) is false 467s ok 16 - is_type("object", true) is false 467s ok 17 - is_type("string", true) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 9 - JSON-encoded data, type: boolean 467s # Subtest: JSON-encoded data, type: integer 467s ok 1 - is_type("integer", 0) is true 467s ok 2 - is_type("number", 0) is true 467s ok 3 - get_type(0) = integer 467s ok 4 - is_type("array", 0) is false 467s ok 5 - is_type("boolean", 0) is false 467s ok 6 - is_type("null", 0) is false 467s ok 7 - is_type("object", 0) is false 467s ok 8 - is_type("string", 0) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("integer", -1) is true 467s ok 11 - is_type("number", -1) is true 467s ok 12 - get_type(-1) = integer 467s ok 13 - is_type("array", -1) is false 467s ok 14 - is_type("boolean", -1) is false 467s ok 15 - is_type("null", -1) is false 467s ok 16 - is_type("object", -1) is false 467s ok 17 - is_type("string", -1) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s ok 19 - is_type("integer", Math::BigFloat->new('2')) is true 467s ok 20 - is_type("number", Math::BigFloat->new('2')) is true 467s ok 21 - get_type(Math::BigFloat->new('2')) = integer 467s ok 22 - is_type("array", Math::BigFloat->new('2')) is false 467s ok 23 - is_type("boolean", Math::BigFloat->new('2')) is false 467s ok 24 - is_type("null", Math::BigFloat->new('2')) is false 467s ok 25 - is_type("object", Math::BigFloat->new('2')) is false 467s ok 26 - is_type("string", Math::BigFloat->new('2')) is false 467s ok 27 - data is not tampered with while it is tested (not dualvar) 467s ok 28 - is_type("integer", 2147483647) is true 467s ok 29 - is_type("number", 2147483647) is true 467s ok 30 - get_type(2147483647) = integer 467s ok 31 - is_type("array", 2147483647) is false 467s ok 32 - is_type("boolean", 2147483647) is false 467s ok 33 - is_type("null", 2147483647) is false 467s ok 34 - is_type("object", 2147483647) is false 467s ok 35 - is_type("string", 2147483647) is false 467s ok 36 - data is not tampered with while it is tested (not dualvar) 467s ok 37 - is_type("integer", 2147483648) is true 467s ok 38 - is_type("number", 2147483648) is true 467s ok 39 - get_type(2147483648) = integer 467s ok 40 - is_type("array", 2147483648) is false 467s ok 41 - is_type("boolean", 2147483648) is false 467s ok 42 - is_type("null", 2147483648) is false 467s ok 43 - is_type("object", 2147483648) is false 467s ok 44 - is_type("string", 2147483648) is false 467s ok 45 - data is not tampered with while it is tested (not dualvar) 467s ok 46 - is_type("integer", Math::BigFloat->new('9223372036854780000')) is true 467s ok 47 - is_type("number", Math::BigFloat->new('9223372036854780000')) is true 467s ok 48 - get_type(Math::BigFloat->new('9223372036854780000')) = integer 467s ok 49 - is_type("array", Math::BigFloat->new('9223372036854780000')) is false 467s ok 50 - is_type("boolean", Math::BigFloat->new('9223372036854780000')) is false 467s ok 51 - is_type("null", Math::BigFloat->new('9223372036854780000')) is false 467s ok 52 - is_type("object", Math::BigFloat->new('9223372036854780000')) is false 467s ok 53 - is_type("string", Math::BigFloat->new('9223372036854780000')) is false 467s ok 54 - data is not tampered with while it is tested (not dualvar) 467s ok 55 - is_type("integer", Math::BigFloat->new('9223372036854780000')) is true 467s ok 56 - is_type("number", Math::BigFloat->new('9223372036854780000')) is true 467s ok 57 - get_type(Math::BigFloat->new('9223372036854780000')) = integer 467s ok 58 - is_type("array", Math::BigFloat->new('9223372036854780000')) is false 467s ok 59 - is_type("boolean", Math::BigFloat->new('9223372036854780000')) is false 467s ok 60 - is_type("null", Math::BigFloat->new('9223372036854780000')) is false 467s ok 61 - is_type("object", Math::BigFloat->new('9223372036854780000')) is false 467s ok 62 - is_type("string", Math::BigFloat->new('9223372036854780000')) is false 467s ok 63 - data is not tampered with while it is tested (not dualvar) 467s ok 64 - is_type("integer", Math::BigFloat->new('18446744073709600000')) is true 467s ok 65 - is_type("number", Math::BigFloat->new('18446744073709600000')) is true 467s ok 66 - get_type(Math::BigFloat->new('18446744073709600000')) = integer 467s ok 67 - is_type("array", Math::BigFloat->new('18446744073709600000')) is false 467s ok 68 - is_type("boolean", Math::BigFloat->new('18446744073709600000')) is false 467s ok 69 - is_type("null", Math::BigFloat->new('18446744073709600000')) is false 467s ok 70 - is_type("object", Math::BigFloat->new('18446744073709600000')) is false 467s ok 71 - is_type("string", Math::BigFloat->new('18446744073709600000')) is false 467s ok 72 - data is not tampered with while it is tested (not dualvar) 467s ok 73 - is_type("integer", Math::BigFloat->new('36893488147419100000')) is true 467s ok 74 - is_type("number", Math::BigFloat->new('36893488147419100000')) is true 467s ok 75 - get_type(Math::BigFloat->new('36893488147419100000')) = integer 467s ok 76 - is_type("array", Math::BigFloat->new('36893488147419100000')) is false 467s ok 77 - is_type("boolean", Math::BigFloat->new('36893488147419100000')) is false 467s ok 78 - is_type("null", Math::BigFloat->new('36893488147419100000')) is false 467s ok 79 - is_type("object", Math::BigFloat->new('36893488147419100000')) is false 467s ok 80 - is_type("string", Math::BigFloat->new('36893488147419100000')) is false 467s ok 81 - data is not tampered with while it is tested (not dualvar) 467s ok 82 - is_type("integer", 1000000000000000) is true 467s ok 83 - is_type("number", 1000000000000000) is true 467s ok 84 - get_type(1000000000000000) = integer 467s ok 85 - is_type("array", 1000000000000000) is false 467s ok 86 - is_type("boolean", 1000000000000000) is false 467s ok 87 - is_type("null", 1000000000000000) is false 467s ok 88 - is_type("object", 1000000000000000) is false 467s ok 89 - is_type("string", 1000000000000000) is false 467s ok 90 - data is not tampered with while it is tested (not dualvar) 467s 1..90 467s ok 10 - JSON-encoded data, type: integer 467s # Subtest: JSON-encoded data, type: null 467s ok 1 - is_type("null", null) is true 467s ok 2 - get_type(null) = null 467s ok 3 - is_type("array", null) is false 467s ok 4 - is_type("boolean", null) is false 467s ok 5 - is_type("integer", null) is false 467s ok 6 - is_type("number", null) is false 467s ok 7 - is_type("object", null) is false 467s ok 8 - is_type("string", null) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s 1..9 467s ok 11 - JSON-encoded data, type: null 467s # Subtest: JSON-encoded data, type: number 467s ok 1 - is_type("number", Math::BigFloat->new('3.1')) is true 467s ok 2 - get_type(Math::BigFloat->new('3.1')) = number 467s ok 3 - is_type("array", Math::BigFloat->new('3.1')) is false 467s ok 4 - is_type("boolean", Math::BigFloat->new('3.1')) is false 467s ok 5 - is_type("integer", Math::BigFloat->new('3.1')) is false 467s ok 6 - is_type("null", Math::BigFloat->new('3.1')) is false 467s ok 7 - is_type("object", Math::BigFloat->new('3.1')) is false 467s ok 8 - is_type("string", Math::BigFloat->new('3.1')) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("number", Math::BigFloat->new('12345678901.2')) is true 467s ok 11 - get_type(Math::BigFloat->new('12345678901.2')) = number 467s ok 12 - is_type("array", Math::BigFloat->new('12345678901.2')) is false 467s ok 13 - is_type("boolean", Math::BigFloat->new('12345678901.2')) is false 467s ok 14 - is_type("integer", Math::BigFloat->new('12345678901.2')) is false 467s ok 15 - is_type("null", Math::BigFloat->new('12345678901.2')) is false 467s ok 16 - is_type("object", Math::BigFloat->new('12345678901.2')) is false 467s ok 17 - is_type("string", Math::BigFloat->new('12345678901.2')) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 12 - JSON-encoded data, type: number 467s # Subtest: JSON-encoded data, type: object 467s ok 1 - is_type("object", {}) is true 467s ok 2 - get_type({}) = object 467s ok 3 - is_type("array", {}) is false 467s ok 4 - is_type("boolean", {}) is false 467s ok 5 - is_type("integer", {}) is false 467s ok 6 - is_type("null", {}) is false 467s ok 7 - is_type("number", {}) is false 467s ok 8 - is_type("string", {}) is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("object", {"a" : 1}) is true 467s ok 11 - get_type({"a" : 1}) = object 467s ok 12 - is_type("array", {"a" : 1}) is false 467s ok 13 - is_type("boolean", {"a" : 1}) is false 467s ok 14 - is_type("integer", {"a" : 1}) is false 467s ok 15 - is_type("null", {"a" : 1}) is false 467s ok 16 - is_type("number", {"a" : 1}) is false 467s ok 17 - is_type("string", {"a" : 1}) is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s 1..18 467s ok 13 - JSON-encoded data, type: object 467s # Subtest: JSON-encoded data, type: string 467s ok 1 - is_type("string", "") is true 467s ok 2 - get_type("") = string 467s ok 3 - is_type("array", "") is false 467s ok 4 - is_type("boolean", "") is false 467s ok 5 - is_type("integer", "") is false 467s ok 6 - is_type("null", "") is false 467s ok 7 - is_type("number", "") is false 467s ok 8 - is_type("object", "") is false 467s ok 9 - data is not tampered with while it is tested (not dualvar) 467s ok 10 - is_type("string", "0") is true 467s ok 11 - get_type("0") = string 467s ok 12 - is_type("array", "0") is false 467s ok 13 - is_type("boolean", "0") is false 467s ok 14 - is_type("integer", "0") is false 467s ok 15 - is_type("null", "0") is false 467s ok 16 - is_type("number", "0") is false 467s ok 17 - is_type("object", "0") is false 467s ok 18 - data is not tampered with while it is tested (not dualvar) 467s ok 19 - is_type("string", "-1") is true 467s ok 20 - get_type("-1") = string 467s ok 21 - is_type("array", "-1") is false 467s ok 22 - is_type("boolean", "-1") is false 467s ok 23 - is_type("integer", "-1") is false 467s ok 24 - is_type("null", "-1") is false 467s ok 25 - is_type("number", "-1") is false 467s ok 26 - is_type("object", "-1") is false 467s ok 27 - data is not tampered with while it is tested (not dualvar) 467s ok 28 - is_type("string", "2.0") is true 467s ok 29 - get_type("2.0") = string 467s ok 30 - is_type("array", "2.0") is false 467s ok 31 - is_type("boolean", "2.0") is false 467s ok 32 - is_type("integer", "2.0") is false 467s ok 33 - is_type("null", "2.0") is false 467s ok 34 - is_type("number", "2.0") is false 467s ok 35 - is_type("object", "2.0") is false 467s ok 36 - data is not tampered with while it is tested (not dualvar) 467s ok 37 - is_type("string", "3.1") is true 467s ok 38 - get_type("3.1") = string 467s ok 39 - is_type("array", "3.1") is false 467s ok 40 - is_type("boolean", "3.1") is false 467s ok 41 - is_type("integer", "3.1") is false 467s ok 42 - is_type("null", "3.1") is false 467s ok 43 - is_type("number", "3.1") is false 467s ok 44 - is_type("object", "3.1") is false 467s ok 45 - data is not tampered with while it is tested (not dualvar) 467s ok 46 - is_type("string", "école") is true 467s ok 47 - get_type("école") = string 467s ok 48 - is_type("array", "école") is false 467s ok 49 - is_type("boolean", "école") is false 467s ok 50 - is_type("integer", "école") is false 467s ok 51 - is_type("null", "école") is false 467s ok 52 - is_type("number", "école") is false 467s ok 53 - is_type("object", "école") is false 467s ok 54 - data is not tampered with while it is tested (not dualvar) 467s ok 55 - is_type("string", "ಠ_ಠ") is true 467s ok 56 - get_type("ಠ_ಠ") = string 467s ok 57 - is_type("array", "ಠ_ಠ") is false 467s ok 58 - is_type("boolean", "ಠ_ಠ") is false 467s ok 59 - is_type("integer", "ಠ_ಠ") is false 467s ok 60 - is_type("null", "ಠ_ಠ") is false 467s ok 61 - is_type("number", "ಠ_ಠ") is false 467s ok 62 - is_type("object", "ಠ_ಠ") is false 467s ok 63 - data is not tampered with while it is tested (not dualvar) 467s 1..63 467s ok 14 - JSON-encoded data, type: string 467s # Subtest: type: integers and numbers 467s ok 1 - is_type('integer', 1) is true 467s ok 2 - is_type('integer', -2.0) is true 467s ok 3 - is_type('integer', 9.22337203685478e+24) is true 467s ok 4 - is_type('integer', 1) is true 467s ok 5 - is_type('integer', -2) is true 467s ok 6 - is_type('integer', Math::BigFloat->new('9223372036854780000000000')) is true 467s ok 7 - get_type(1) is integer 467s ok 8 - get_type(-2.0) is integer 467s ok 9 - get_type(9.22337203685478e+24) is integer 467s ok 10 - get_type(1) is integer 467s ok 11 - get_type(-2) is integer 467s ok 12 - get_type(Math::BigFloat->new('9223372036854780000000000')) is integer 467s ok 13 - is_type('number', 1) is true 467s ok 14 - is_type('number', -2.0) is true 467s ok 15 - is_type('number', 9.22337203685478e+24) is true 467s ok 16 - is_type('number', -2.1) is true 467s ok 17 - is_type('number', 1) is true 467s ok 18 - is_type('number', -2) is true 467s ok 19 - is_type('number', Math::BigFloat->new('9223372036854780000000000')) is true 467s ok 20 - is_type('number', Math::BigFloat->new('-2.1')) is true 467s ok 21 - get_type(-2.1) is number 467s ok 22 - get_type(Math::BigFloat->new('-2.1')) is number 467s ok 23 - is_type('integer', "1") is false 467s ok 24 - is_type('integer', "2.0") is false 467s ok 25 - is_type('integer', 3.1) is false 467s ok 26 - is_type('integer', "4.2") is false 467s ok 27 - is_type('integer', "1") is false 467s ok 28 - is_type('integer', "2.0") is false 467s ok 29 - is_type('integer', Math::BigFloat->new('3.1')) is false 467s ok 30 - is_type('integer', "4.2") is false 467s ok 31 - get_type("1") is not integer 467s ok 32 - get_type("2.0") is not integer 467s ok 33 - get_type(3.1) is not integer 467s ok 34 - get_type("4.2") is not integer 467s ok 35 - get_type("1") is not integer 467s ok 36 - get_type("2.0") is not integer 467s ok 37 - get_type(Math::BigFloat->new('3.1')) is not integer 467s ok 38 - get_type("4.2") is not integer 467s 1..38 467s ok 15 - type: integers and numbers 467s # Subtest: type: integers and numbers in draft4 467s ok 1 - is_type('integer', 1, { legacy_ints => 1 }) is true 467s ok 2 - is_type('integer', 1, { legacy_ints => 1 }) is true 467s ok 3 - get_type(1, { legacy_ints => 1 }) is integer 467s ok 4 - get_type(1, { legacy_ints => 1 }) is integer 467s ok 5 - is_type('number', 1, { legacy_ints => 1 }) is true 467s ok 6 - is_type('number', 2.0, { legacy_ints => 1 }) is true 467s ok 7 - is_type('number', -2.1, { legacy_ints => 1 }) is true 467s ok 8 - is_type('number', 1, { legacy_ints => 1 }) is true 467s ok 9 - is_type('number', Math::BigFloat->new('2'), { legacy_ints => 1 }) is true 467s ok 10 - is_type('number', Math::BigFloat->new('-2.1'), { legacy_ints => 1 }) is true 467s ok 11 - is_type('number', Math::BigInt->new('9223372036854775800000008'), { legacy_ints => 1 }) is true 467s ok 12 - get_type(2.0, { legacy_ints => 1 }) is number 467s ok 13 - get_type(-2.1, { legacy_ints => 1 }) is number 467s ok 14 - get_type(Math::BigFloat->new('2'), { legacy_ints => 1 }) is number 467s ok 15 - get_type(Math::BigFloat->new('-2.1'), { legacy_ints => 1 }) is number 467s ok 16 - get_type(Math::BigInt->new('9223372036854775800000008'), { legacy_ints => 1 }) is number 467s ok 17 - is_type('integer', "1", { legacy_ints => 1 }) is false 467s ok 18 - is_type('integer', "2.0", { legacy_ints => 1 }) is false 467s ok 19 - is_type('integer', 3.1, { legacy_ints => 1 }) is false 467s ok 20 - is_type('integer', "4.2", { legacy_ints => 1 }) is false 467s ok 21 - is_type('integer', "1", { legacy_ints => 1 }) is false 467s ok 22 - is_type('integer', "2.0", { legacy_ints => 1 }) is false 467s ok 23 - is_type('integer', Math::BigFloat->new('3.1'), { legacy_ints => 1 }) is false 467s ok 24 - is_type('integer', "4.2", { legacy_ints => 1 }) is false 467s ok 25 - get_type("1", { legacy_ints => 1 }) is not integer 467s ok 26 - get_type("2.0", { legacy_ints => 1 }) is not integer 467s ok 27 - get_type(3.1, { legacy_ints => 1 }) is not integer 467s ok 28 - get_type("4.2", { legacy_ints => 1 }) is not integer 467s ok 29 - get_type("1", { legacy_ints => 1 }) is not integer 467s ok 30 - get_type("2.0", { legacy_ints => 1 }) is not integer 467s ok 31 - get_type(Math::BigFloat->new('3.1'), { legacy_ints => 1 }) is not integer 467s ok 32 - get_type("4.2", { legacy_ints => 1 }) is not integer 467s 1..32 467s ok 16 - type: integers and numbers in draft4 467s ok 17 - non-existent type does not result in exception 467s # Subtest: ambiguous types 467s ok 1 - dualvars are ambiguous 467s ok 2 # skip on perls >= 5.35.9, reading the string form of an integer value no longer sets the flag SVf_POK 467s 1..2 467s ok 18 - ambiguous types 467s # Subtest: is_type and get_type for references 467s ok 1 - reference to SCALAR type is reported without exception 467s ok 2 - value is a reference to SCALAR 467s ok 3 - value is not a null 467s ok 4 - value is not a object 467s ok 5 - value is not a array 467s ok 6 - value is not a boolean 467s ok 7 - value is not a string 467s ok 8 - value is not a number 467s ok 9 - value is not a integer 467s ok 10 - reference to REF type is reported without exception 467s ok 11 - value is a reference to REF 467s ok 12 - value is not a null 467s ok 13 - value is not a object 467s ok 14 - value is not a array 467s ok 15 - value is not a boolean 467s ok 16 - value is not a string 467s ok 17 - value is not a number 467s ok 18 - value is not a integer 467s ok 19 - reference to CODE type is reported without exception 467s ok 20 - value is a reference to CODE 467s ok 21 - value is not a null 467s ok 22 - value is not a object 467s ok 23 - value is not a array 467s ok 24 - value is not a boolean 467s ok 25 - value is not a string 467s ok 26 - value is not a number 467s ok 27 - value is not a integer 467s ok 28 - reference to GLOB type is reported without exception 467s ok 29 - value is a reference to GLOB 467s ok 30 - value is not a null 467s ok 31 - value is not a object 467s ok 32 - value is not a array 467s ok 33 - value is not a boolean 467s ok 34 - value is not a string 467s ok 35 - value is not a number 467s ok 36 - value is not a integer 467s ok 37 - reference to LVALUE type is reported without exception 467s ok 38 - value is a reference to LVALUE 467s ok 39 - value is not a null 467s ok 40 - value is not a object 467s ok 41 - value is not a array 467s ok 42 - value is not a boolean 467s ok 43 - value is not a string 467s ok 44 - value is not a number 467s ok 45 - value is not a integer 467s ok 46 - reference to VSTRING type is reported without exception 467s ok 47 - value is a reference to VSTRING 467s ok 48 - value is not a null 467s ok 49 - value is not a object 467s ok 50 - value is not a array 467s ok 51 - value is not a boolean 467s ok 52 - value is not a string 467s ok 53 - value is not a number 467s ok 54 - value is not a integer 467s ok 55 - Regexp type is reported without exception 467s ok 56 - value is a Regexp 467s ok 57 - value is not a null 467s ok 58 - value is not a object 467s ok 59 - value is not a array 467s ok 60 - value is not a boolean 467s ok 61 - value is not a string 467s ok 62 - value is not a number 467s ok 63 - value is not a integer 467s ok 64 - IO::File type is reported without exception 467s ok 65 - value is a IO::File 467s ok 66 - value is not a null 467s ok 67 - value is not a object 467s ok 68 - value is not a array 467s ok 69 - value is not a boolean 467s ok 70 - value is not a string 467s ok 71 - value is not a number 467s ok 72 - value is not a integer 467s ok 73 - Foo type is reported without exception 467s ok 74 - value is a Foo 467s ok 75 - value is not a null 467s ok 76 - value is not a object 467s ok 77 - value is not a array 467s ok 78 - value is not a boolean 467s ok 79 - value is not a string 467s ok 80 - value is not a number 467s ok 81 - value is not a integer 467s 1..81 467s ok 19 - is_type and get_type for references 467s 1..19 467s ok 468s t/unsupported-keywords.t ................ 468s # 468s # draft7 468s ok 1 - schema with "id" still validates in draft7 468s ok 2 - warned for "id" in draft7 468s ok 3 - schema with "definitions" validates in draft7 468s ok 4 - did not warn for "definitions" in draft7 468s ok 5 - schema with "dependencies" validates in draft7 468s ok 6 - did not warn for "dependencies" in draft7 468s # 468s # draft2019-09 468s ok 7 - schema with "id" still validates in draft2019-09 468s ok 8 - warned for "id" in draft2019-09 468s ok 9 - schema with "definitions" still validates in draft2019-09 468s ok 10 - warned for "definitions" in draft2019-09 468s ok 11 - schema with "dependencies" still validates in draft2019-09 468s ok 12 - warned for "dependencies" in draft2019-09 468s 1..12 468s ok 468s t/validate-schema.t ..................... 468s ok 1 - validate_schema on simple schema with no $schema keyword 468s ok 2 - validate_schema on schema with metaschema $schema keyword 468s ok 3 - validate_schema with custom metaschema 468s 1..3 468s ok 469s t/vocabularies.t ........................ 469s # Subtest: valid keywords 469s ok 1 - draft4, Applicator: calculated keyword list matches hardcoded table 469s ok 2 - draft4, Core: calculated keyword list matches hardcoded table 469s ok 3 - draft4, FormatAnnotation: calculated keyword list matches hardcoded table 469s ok 4 - draft4, MetaData: calculated keyword list matches hardcoded table 469s ok 5 - draft4, Validation: calculated keyword list matches hardcoded table 469s ok 6 - draft6, Applicator: calculated keyword list matches hardcoded table 469s ok 7 - draft6, Core: calculated keyword list matches hardcoded table 469s ok 8 - draft6, FormatAnnotation: calculated keyword list matches hardcoded table 469s ok 9 - draft6, MetaData: calculated keyword list matches hardcoded table 469s ok 10 - draft6, Validation: calculated keyword list matches hardcoded table 469s ok 11 - draft7, Applicator: calculated keyword list matches hardcoded table 469s ok 12 - draft7, Content: calculated keyword list matches hardcoded table 469s ok 13 - draft7, Core: calculated keyword list matches hardcoded table 469s ok 14 - draft7, FormatAnnotation: calculated keyword list matches hardcoded table 469s ok 15 - draft7, MetaData: calculated keyword list matches hardcoded table 469s ok 16 - draft7, Validation: calculated keyword list matches hardcoded table 469s ok 17 - draft2019-09, Applicator: calculated keyword list matches hardcoded table 469s ok 18 - draft2019-09, Content: calculated keyword list matches hardcoded table 469s ok 19 - draft2019-09, Core: calculated keyword list matches hardcoded table 469s ok 20 - draft2019-09, FormatAnnotation: calculated keyword list matches hardcoded table 469s ok 21 - draft2019-09, MetaData: calculated keyword list matches hardcoded table 469s ok 22 - draft2019-09, Validation: calculated keyword list matches hardcoded table 469s ok 23 - draft2020-12, Applicator: calculated keyword list matches hardcoded table 469s ok 24 - draft2020-12, Content: calculated keyword list matches hardcoded table 469s ok 25 - draft2020-12, Core: calculated keyword list matches hardcoded table 469s ok 26 - draft2020-12, FormatAnnotation: calculated keyword list matches hardcoded table 469s ok 27 - draft2020-12, MetaData: calculated keyword list matches hardcoded table 469s ok 28 - draft2020-12, Unevaluated: calculated keyword list matches hardcoded table 469s ok 29 - draft2020-12, Validation: calculated keyword list matches hardcoded table 469s 1..29 469s ok 1 - valid keywords 469s 1..1 469s ok 471s t/zzz-acceptance-draft2019-09-format.t .. 471s # AUTHOR_TESTING: 471s # AUTOMATED_TESTING: 1 471s # EXTENDED_TESTING: 471s # NO_TODO: 471s # TEST_DIR: 471s # NO_SHORT_CIRCUIT: 471s # 471s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2019-09/optional/format against draft2019-09... 471s # 471s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 471s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 471s # result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s # short-circuited result: { 471s # "errors": [ 471s # { 471s # "error": "not a valid date-time", 471s # "instanceLocation": "", 471s # "keywordLocation": "/format" 471s # } 471s # ], 471s # "valid": false 471s # } 471s ok 1 - test passes: data is valid: false 471s 1..1 471s } 471s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 471s # result: { 471s # "valid": true 471s # } 471s # short-circuited result: { 471s # "valid": true 471s # } 471s ok 1 - test passes: data is valid: true 471s 1..1 471s } 472s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date-time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 32 - date.json: "validation of date strings" - "a valid date string" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 64 - date.json: "validation of date strings" - "invalid month" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid date", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 73 - duration.json: "validation of duration strings" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 74 - duration.json: "validation of duration strings" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 75 - duration.json: "validation of duration strings" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 76 - duration.json: "validation of duration strings" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 77 - duration.json: "validation of duration strings" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 78 - duration.json: "validation of duration strings" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 79 - duration.json: "validation of duration strings" - "a valid duration string" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 80 - duration.json: "validation of duration strings" - "an invalid duration string" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 81 - duration.json: "validation of duration strings" - "no elements present" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 82 - duration.json: "validation of duration strings" - "no time elements present" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 83 - duration.json: "validation of duration strings" - "no date or time elements present" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 84 - duration.json: "validation of duration strings" - "elements out of order" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 85 - duration.json: "validation of duration strings" - "missing time separator" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 86 - duration.json: "validation of duration strings" - "time element in the date position" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 87 - duration.json: "validation of duration strings" - "four years duration" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 88 - duration.json: "validation of duration strings" - "zero time, in seconds" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 89 - duration.json: "validation of duration strings" - "zero time, in days" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 90 - duration.json: "validation of duration strings" - "one month duration" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 91 - duration.json: "validation of duration strings" - "one minute duration" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 92 - duration.json: "validation of duration strings" - "one and a half days, in hours" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 93 - duration.json: "validation of duration strings" - "one and a half days, in days and hours" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 94 - duration.json: "validation of duration strings" - "two weeks" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 95 - duration.json: "validation of duration strings" - "weeks cannot be combined with other units" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 96 - duration.json: "validation of duration strings" - "invalid non-ASCII '২' (a Bengali 2)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 97 - duration.json: "validation of duration strings" - "element without unit" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid duration", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 98 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 99 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 100 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 101 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 102 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 103 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 104 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 105 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 106 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 107 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 108 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 109 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 110 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 111 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 112 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 113 - hostname.json: "validation of host names" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 114 - hostname.json: "validation of host names" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 115 - hostname.json: "validation of host names" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 116 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 117 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 118 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 119 - hostname.json: "validation of host names" - "a valid host name" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 120 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 121 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 122 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 123 - hostname.json: "validation of host names" - "a host name with a component too long" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 124 - hostname.json: "validation of host names" - "starts with hyphen" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 125 - hostname.json: "validation of host names" - "ends with hyphen" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 126 - hostname.json: "validation of host names" - "starts with underscore" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 127 - hostname.json: "validation of host names" - "ends with underscore" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 128 - hostname.json: "validation of host names" - "contains underscore" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 129 - hostname.json: "validation of host names" - "maximum label length" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 130 - hostname.json: "validation of host names" - "exceeds maximum label length" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 131 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"hostname\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 132 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"host-name\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 133 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"h0stn4me\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 134 - hostname.json: "validation of host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"1host\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 135 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"hostnam3\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s # 472s ok 136 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 137 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 138 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 139 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 140 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 141 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 142 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 143 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 144 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 145 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-email", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 146 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 147 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 148 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 149 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 150 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 151 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected false; got true 472s # data: "\"실〮례.테스트\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "valid": true 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 156 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 157 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 158 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 160 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 161 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 163 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 164 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 165 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"ßς་〇\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"Û½Û¾\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 170 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 171 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 172 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 173 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 174 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"l·l\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 175 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 176 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 177 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"α͵β\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 178 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 179 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 180 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"א׳ב\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 181 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 182 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 183 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"א״ב\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 185 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 186 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"・ぁ\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 187 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"・ァ\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 188 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"・丈\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"ب٠ب\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"Û°0\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 192 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 193 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false # 472s 1..1 472s } 472s ok 194 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"क्‍ष\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 195 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"क्‌ष\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s 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" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"بي‌بي\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 197 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"hostname\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 198 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"host-name\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 199 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"h0stn4me\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 200 - idn-hostname.json: "validation of internationalized host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"1host\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s ok 201 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected true; got false 472s # data: "\"hostnam3\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid idn-hostname", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s 1..1 472s } 472s # 472s ok 202 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 203 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 204 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 205 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 206 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 207 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 208 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 209 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 210 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 211 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 212 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 213 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 214 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 215 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 216 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 217 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv4", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 218 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 219 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 220 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 221 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 222 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 223 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 224 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 225 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 226 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 227 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 228 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 229 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 230 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 231 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 232 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 233 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 234 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 235 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 236 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 237 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 238 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 239 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 240 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 241 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 242 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 243 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 244 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 245 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 246 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 247 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 248 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 249 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 250 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 251 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 252 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 253 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 254 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 255 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 256 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 257 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid ipv6", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 258 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 259 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 260 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 261 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 262 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 263 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 264 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 265 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 266 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 267 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected false; got true 472s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri-reference\"}" 472s # result: { 472s # "valid": true 472s # } 472s 1..1 472s } 472s ok 268 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 269 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 270 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected false; got true 472s # data: "\"#ƒräg\\\\mênt\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri-reference\"}" 472s # result: { 472s # "valid": true 472s # } 472s 1..1 472s } 472s # 472s ok 271 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 272 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 273 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 274 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 275 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 276 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 277 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 278 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 279 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 280 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 281 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 282 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected false; got true 472s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri\"}" 472s # result: { 472s # "valid": true 472s # } 472s 1..1 472s } 472s ok 283 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid iri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid iri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 284 - iri.json: "validation of IRIs" - "an invalid IRI" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid iri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid iri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 285 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid iri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid iri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 286 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 287 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 288 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 289 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 290 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 291 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 292 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 297 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 298 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 299 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 300 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 301 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 302 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 303 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 304 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 305 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 306 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 307 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 308 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 309 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 310 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 311 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 312 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 313 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 314 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 315 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 316 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 317 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 318 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 319 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 320 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 321 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 322 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 323 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 324 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 325 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 326 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 327 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 328 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 329 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 330 - regex.json: "validation of regular expressions" - "a valid regular expression" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 331 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid regex", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid regex", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 332 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 333 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 334 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 335 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 336 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 337 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 338 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 339 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 340 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 341 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 342 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 343 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 344 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 345 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 346 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 347 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 348 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid relative-json-pointer", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 349 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s # 472s ok 350 - time.json: "validation of time strings" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 351 - time.json: "validation of time strings" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 352 - time.json: "validation of time strings" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 353 - time.json: "validation of time strings" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 354 - time.json: "validation of time strings" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 355 - time.json: "validation of time strings" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 356 - time.json: "validation of time strings" - "a valid time string" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 357 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 358 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 359 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 360 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 361 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 362 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 363 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 364 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 365 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 366 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 367 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 368 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 369 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 370 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 371 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 372 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 373 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 374 - time.json: "validation of time strings" - "a valid time string with second fraction" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 375 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 376 - time.json: "validation of time strings" - "a valid time string with plus offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 377 - time.json: "validation of time strings" - "a valid time string with minus offset" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 378 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 379 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 380 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 381 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 382 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 383 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 384 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 385 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 386 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 387 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 388 - time.json: "validation of time strings" - "an invalid offset indicator" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 389 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 390 - time.json: "validation of time strings" - "no time offset" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 391 - time.json: "validation of time strings" - "no time offset with second fraction" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 392 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 393 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 394 - time.json: "validation of time strings" - "contains letters" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid time", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 395 - unknown.json: "unknown format" - "unknown formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 396 - unknown.json: "unknown format" - "unknown formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 397 - unknown.json: "unknown format" - "unknown formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 398 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 399 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 400 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 401 - unknown.json: "unknown format" - "unknown formats ignore strings" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s # 472s ok 402 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 403 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 404 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 405 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 406 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 407 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 408 - uri-reference.json: "validation of URI References" - "a valid URI" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 409 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 410 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 411 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri-reference", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri-reference", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 412 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 413 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 414 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri-reference", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri-reference", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s # 472s ok 415 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 416 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 417 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 418 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 419 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 420 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 421 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 422 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected false; got true 472s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"uri-template\"}" 472s # result: { 472s # "valid": true 472s # } 472s 1..1 472s } 472s ok 423 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s ok 424 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true # 472s 1..1 472s } 472s # 472s ok 425 - uri.json: "validation of URIs" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 426 - uri.json: "validation of URIs" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 427 - uri.json: "validation of URIs" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 428 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 429 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 430 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 431 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 432 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 433 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 434 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 435 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 436 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 437 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 438 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 439 - uri.json: "validation of URIs" - "a valid URL " { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 440 - uri.json: "validation of URIs" - "a valid mailto URI" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 441 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 442 - uri.json: "validation of URIs" - "a valid tel URI" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 443 - uri.json: "validation of URIs" - "a valid URN" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 444 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 445 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 446 - uri.json: "validation of URIs" - "an invalid URI" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 447 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 448 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 449 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uri", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 450 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s not ok 1 - evaluation result is incorrect # 472s # Failed test (with amnesty) 'evaluation result is incorrect' 472s # at t/zzz-acceptance-draft2019-09-format.t line 68. 472s # expected false; got true 472s # data: "\"bar,baz:foo\"" 472s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"uri\"}" 472s # result: { 472s # "valid": true 472s # } 472s 1..1 472s } 472s # 472s ok 451 - uuid.json: "uuid format" - "all string formats ignore integers" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 452 - uuid.json: "uuid format" - "all string formats ignore floats" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 453 - uuid.json: "uuid format" - "all string formats ignore objects" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 454 - uuid.json: "uuid format" - "all string formats ignore arrays" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 455 - uuid.json: "uuid format" - "all string formats ignore booleans" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 456 - uuid.json: "uuid format" - "all string formats ignore nulls" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 457 - uuid.json: "uuid format" - "all upper-case" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 458 - uuid.json: "uuid format" - "all lower-case" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 459 - uuid.json: "uuid format" - "mixed case" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 460 - uuid.json: "uuid format" - "all zeroes is valid" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 461 - uuid.json: "uuid format" - "wrong length" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 462 - uuid.json: "uuid format" - "missing section" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 463 - uuid.json: "uuid format" - "bad characters (not hex)" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 464 - uuid.json: "uuid format" - "no dashes" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 465 - uuid.json: "uuid format" - "too few dashes" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 466 - uuid.json: "uuid format" - "too many dashes" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 467 - uuid.json: "uuid format" - "dashes in the wrong spot" { 472s # result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s # short-circuited result: { 472s # "errors": [ 472s # { 472s # "error": "not a valid uuid", 472s # "instanceLocation": "", 472s # "keywordLocation": "/format" 472s # } 472s # ], 472s # "valid": false 472s # } 472s ok 1 - test passes: data is valid: false 472s 1..1 472s } 472s ok 468 - uuid.json: "uuid format" - "valid version 4" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 469 - uuid.json: "uuid format" - "valid version 5" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 470 - uuid.json: "uuid format" - "hypothetical version 6" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s ok 471 - uuid.json: "uuid format" - "hypothetical version 15" { 472s # result: { 472s # "valid": true 472s # } 472s # short-circuited result: { 472s # "valid": true 472s # } 472s ok 1 - test passes: data is valid: true 472s 1..1 472s } 472s # 472s # 472s # generated with: Test::JSON::Schema::Acceptance 1.026 472s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 472s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 472s # specification version: draft2019-09 472s # using custom test directory: /optional/format 472s # optional tests included: yes 472s # 472s # filename pass todo-fail fail 472s # --------------------------------------------------------------- 472s # date-time.json 25 0 0 472s # date.json 47 0 0 472s # duration.json 25 0 0 472s # email.json 15 0 0 472s # hostname.json 18 5 0 472s # idn-email.json 10 0 0 472s # idn-hostname.json 35 21 0 472s # ipv4.json 16 0 0 472s # ipv6.json 40 0 0 472s # iri-reference.json 11 2 0 472s # iri.json 14 1 0 472s # json-pointer.json 38 0 0 472s # regex.json 8 0 0 472s # relative-json-pointer.json 18 0 0 472s # time.json 45 0 0 472s # unknown.json 7 0 0 472s # uri-reference.json 13 0 0 472s # uri-template.json 9 1 0 472s # uri.json 25 1 0 472s # uuid.json 21 0 0 472s # --------------------------------------------------------------- 472s # TOTAL 440 31 0 472s # 472s # Congratulations, all non-optional tests are passing! 472s # 472s ok 472 - no leaks in the main evaluator object 472s ok 473 - no leaks in the short-circuiting evaluator object 472s 1..473 472s ok 483s t/zzz-acceptance-draft2019-09.t ......... 483s # AUTHOR_TESTING: 483s # AUTOMATED_TESTING: 1 483s # EXTENDED_TESTING: 483s # NO_TODO: 483s # TEST_DIR: 483s # NO_SHORT_CIRCUIT: 483s # 483s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 483s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2019-09 against draft2019-09... 483s # 483s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/3", 483s # "keywordLocation": "/additionalItems/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/3", 483s # "keywordLocation": "/additionalItems/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/items/type" 483s # }, 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/items/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/items" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/items/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/items" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional item not permitted", 483s # "instanceLocation": "/3", 483s # "keywordLocation": "/additionalItems" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional item not permitted", 483s # "instanceLocation": "/3", 483s # "keywordLocation": "/additionalItems" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not boolean", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/additionalItems/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not boolean", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/additionalItems/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/additionalItems/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/additionalItems/type" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional item not permitted", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/additionalItems" 483s # }, 483s # { 483s # "error": "additional item not permitted", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/additionalItems" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional item not permitted", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/additionalItems" 483s # }, 483s # { 483s # "error": "subschema is not valid against all additional items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalItems" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/quux", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/quux", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/élmény", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/élmény", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not boolean", 483s # "instanceLocation": "/quux", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not boolean", 483s # "instanceLocation": "/quux", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not boolean", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not boolean", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not boolean", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not boolean", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 37 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against both keywords" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 38 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against propertyNames, but not additionalProperties" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not number", 483s # "instanceLocation": "/pear", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not number", 483s # "instanceLocation": "/pear", 483s # "keywordLocation": "/additionalProperties/type" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 39 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties doesn't consider dependentSchemas" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 40 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 41 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar even when foo2 is present" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/additionalProperties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 42 - allOf.json: "allOf" - "allOf" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 43 - allOf.json: "allOf" - "mismatch second" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/required" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/required" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 44 - allOf.json: "allOf" - "mismatch first" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/required" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/required" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 45 - allOf.json: "allOf" - "wrong type" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/allOf/0/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/properties" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/allOf/0/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/properties" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 46 - allOf.json: "allOf with base schema" - "valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 47 - allOf.json: "allOf with base schema" - "mismatch base schema" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/required" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/required" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 48 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/required" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/required" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 49 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: baz", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/required" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: baz", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/required" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 50 - allOf.json: "allOf with base schema" - "mismatch both" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/required" 483s # }, 483s # { 483s # "error": "object is missing property: baz", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/required" 483s # }, 483s # { 483s # "error": "subschemas 0, 1 are not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/required" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 51 - allOf.json: "allOf simple types" - "valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 52 - allOf.json: "allOf simple types" - "mismatch one" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than 30", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/maximum" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than 30", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/maximum" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 53 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 54 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 55 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0" 483s # }, 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1" 483s # }, 483s # { 483s # "error": "subschemas 0, 1 are not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 56 - allOf.json: "allOf with one empty schema" - "any data is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 57 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 58 - allOf.json: "allOf with the first empty schema" - "number is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 59 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not number", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/type" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not number", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/1/type" 483s # }, 483s # { 483s # "error": "subschema 1 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 60 - allOf.json: "allOf with the last empty schema" - "number is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 61 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not number", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/type" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not number", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/type" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 62 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 63 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not null", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/allOf/0/type" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/allOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not null", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/allOf/0/type" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/allOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 5", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 5", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 67 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 68 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 5", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 69 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 70 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 5", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 5", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf/0/multipleOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/oneOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 71 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 72 - anchor.json: "Location-independent identifier" - "match" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 73 - anchor.json: "Location-independent identifier" - "mismatch" { 483s # result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "#/$defs/A/type", 483s # "error": "got string, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "#/$defs/A/type", 483s # "error": "got string, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 74 - anchor.json: "Location-independent identifier with absolute URI" - "match" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 75 - anchor.json: "Location-independent identifier with absolute URI" - "mismatch" { 483s # result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/bar#/type", 483s # "error": "got string, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/bar#/type", 483s # "error": "got string, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 76 - anchor.json: "Location-independent identifier with base URI change in subschema" - "match" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 77 - anchor.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 483s # result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested.json#/$defs/B/type", 483s # "error": "got string, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested.json#/$defs/B/type", 483s # "error": "got string, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 78 - anchor.json: "same $anchor with different base uri" - "$ref resolves to /$defs/A/allOf/1" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 79 - anchor.json: "same $anchor with different base uri" - "$ref does not resolve to /$defs/A/allOf/0" { 483s # result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/child1#/allOf/1/type", 483s # "error": "got integer, not string", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/child1#/allOf/1/type", 483s # "error": "got integer, not string", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 80 - anyOf.json: "anyOf" - "first anyOf valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 81 - anyOf.json: "anyOf" - "second anyOf valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 82 - anyOf.json: "anyOf" - "both anyOf valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 83 - anyOf.json: "anyOf" - "neither anyOf valid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got number, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/type" 483s # }, 483s # { 483s # "error": "value is less than 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1/minimum" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got number, not integer", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/type" 483s # }, 483s # { 483s # "error": "value is less than 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1/minimum" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 84 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not string", 483s # "instanceLocation": "", 483s # "keywordLocation": "/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not string", 483s # "instanceLocation": "", 483s # "keywordLocation": "/type" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 85 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 86 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "length is greater than 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/maxLength" 483s # }, 483s # { 483s # "error": "length is less than 4", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1/minLength" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "length is greater than 2", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/maxLength" 483s # }, 483s # { 483s # "error": "length is less than 4", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1/minLength" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 87 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 88 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 89 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0" 483s # }, 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0" 483s # }, 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 90 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 91 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 92 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 93 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/anyOf/0/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/properties" 483s # }, 483s # { 483s # "error": "got integer, not string", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/anyOf/1/properties/foo/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1/properties" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/anyOf/0/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/properties" 483s # }, 483s # { 483s # "error": "got integer, not string", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/anyOf/1/properties/foo/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/1/properties" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 94 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 95 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 96 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 97 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not null", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/anyOf/0/type" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/anyOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got integer, not null", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/anyOf/0/type" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf/0/anyOf" 483s # }, 483s # { 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/anyOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 98 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 99 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 100 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 101 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 102 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 103 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 104 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 105 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 106 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 107 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 108 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 109 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 110 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 111 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 112 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 113 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 114 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 115 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 116 - const.json: "const validation" - "same value is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 117 - const.json: "const validation" - "another value is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 118 - const.json: "const validation" - "another type is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 119 - const.json: "const with object" - "same object is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 120 - const.json: "const with object" - "same object with different property order is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 121 - const.json: "const with object" - "another object is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 122 - const.json: "const with object" - "another type is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 123 - const.json: "const with array" - "same array is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 124 - const.json: "const with array" - "another array item is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs object)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs object)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 125 - const.json: "const with array" - "array with additional items is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 126 - const.json: "const with null" - "null is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 127 - const.json: "const with null" - "not null is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 128 - const.json: "const with false does not match 0" - "false is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 129 - const.json: "const with false does not match 0" - "integer zero is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 130 - const.json: "const with false does not match 0" - "float zero is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 131 - const.json: "const with true does not match 1" - "true is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 132 - const.json: "const with true does not match 1" - "integer one is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 133 - const.json: "const with true does not match 1" - "float one is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 134 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 135 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 136 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 137 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 138 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 139 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 140 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 141 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 142 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 143 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 144 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 145 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 146 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 147 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 148 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 149 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 150 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 151 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 152 - const.json: "const with 1 does not match true" - "true is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 153 - const.json: "const with 1 does not match true" - "integer one is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 154 - const.json: "const with 1 does not match true" - "float one is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 155 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 156 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 157 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 158 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 159 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 160 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 161 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 162 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 163 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 164 - const.json: "nul characters in strings" - "match string with nul" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 165 - const.json: "nul characters in strings" - "do not match string lacking nul" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/const" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 166 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 167 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 168 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 169 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is less than 5", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/minimum" 483s # }, 483s # { 483s # "error": "value is less than 5", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/minimum" 483s # }, 483s # { 483s # "error": "value is less than 5", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/contains/minimum" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is less than 5", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/minimum" 483s # }, 483s # { 483s # "error": "value is less than 5", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/minimum" 483s # }, 483s # { 483s # "error": "value is less than 5", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/contains/minimum" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 170 - contains.json: "contains keyword validation" - "empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 171 - contains.json: "contains keyword validation" - "not array is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 172 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 173 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 174 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/3", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/3", 483s # "keywordLocation": "/contains/const" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 175 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 176 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 177 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 178 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 179 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 180 - contains.json: "items + contains" - "matches items, does not match contains" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 181 - contains.json: "items + contains" - "does not match items, matches contains" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/items/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "/2", 483s # "keywordLocation": "/items/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against all items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/items" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/items/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against all items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/items" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 182 - contains.json: "items + contains" - "matches both items and contains" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 183 - contains.json: "items + contains" - "matches neither items nor contains" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/items/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/items/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against all items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/items" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "value is not a multiple of 3", 483s # "instanceLocation": "/1", 483s # "keywordLocation": "/contains/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is not a multiple of 2", 483s # "instanceLocation": "/0", 483s # "keywordLocation": "/items/multipleOf" 483s # }, 483s # { 483s # "error": "subschema is not valid against all items", 483s # "instanceLocation": "", 483s # "keywordLocation": "/items" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 184 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 185 - contains.json: "contains with false if subschema" - "empty array is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is not valid against any item", 483s # "instanceLocation": "", 483s # "keywordLocation": "/contains" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 186 - contains.json: "contains with null instance elements" - "allows null items" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 187 - content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 188 - content.json: "validation of string-encoded content based on media type" - "an invalid JSON document; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 189 - content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 190 - content.json: "validation of binary string-encoding" - "a valid base64 string" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 191 - content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character); validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 192 - content.json: "validation of binary string-encoding" - "ignores non-strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 193 - content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 194 - content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 195 - content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 196 - content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 197 - content.json: "validation of binary-encoded media type documents with schema" - "a valid base64-encoded JSON document" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 198 - content.json: "validation of binary-encoded media type documents with schema" - "another valid base64-encoded JSON document" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 199 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64-encoded JSON document; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 200 - content.json: "validation of binary-encoded media type documents with schema" - "an empty object as a base64-encoded JSON document; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 201 - content.json: "validation of binary-encoded media type documents with schema" - "an empty array as a base64-encoded JSON document" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 202 - content.json: "validation of binary-encoded media type documents with schema" - "a validly-encoded invalid JSON document; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 203 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64 string that is valid JSON; validates true" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 204 - content.json: "validation of binary-encoded media type documents with schema" - "ignores non-strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 205 - default.json: "invalid type for default" - "valid when property is specified" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 206 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 207 - default.json: "invalid string value for default" - "valid when property is specified" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 208 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s 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)" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s 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)" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than 3", 483s # "instanceLocation": "/alpha", 483s # "keywordLocation": "/properties/alpha/maximum" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/properties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than 3", 483s # "instanceLocation": "/alpha", 483s # "keywordLocation": "/properties/alpha/maximum" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/properties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s 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" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 212 - defs.json: "validate definition against metaschema" - "valid definition schema" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 213 - defs.json: "validate definition against metaschema" - "invalid definition schema" { 483s # result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/simpleTypes/enum", 483s # "error": "value does not match", 483s # "instanceLocation": "/$defs/foo/type", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/0/$ref/enum" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf/1/type", 483s # "error": "got integer, not array", 483s # "instanceLocation": "/$defs/foo/type", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/1/type" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf", 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "/$defs/foo/type", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 483s # "error": "not all properties are valid", 483s # "instanceLocation": "/$defs/foo", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 483s # "error": "subschema 2 is not valid", 483s # "instanceLocation": "/$defs/foo", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties/$defs/additionalProperties", 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "/$defs", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties", 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/simpleTypes/enum", 483s # "error": "value does not match", 483s # "instanceLocation": "/$defs/foo/type", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/0/$ref/enum" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf/1/type", 483s # "error": "got integer, not array", 483s # "instanceLocation": "/$defs/foo/type", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/1/type" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf", 483s # "error": "no subschemas are valid", 483s # "instanceLocation": "/$defs/foo/type", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 483s # "error": "not all properties are valid", 483s # "instanceLocation": "/$defs/foo", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 483s # "error": "subschema 2 is not valid", 483s # "instanceLocation": "/$defs/foo", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties/$defs/additionalProperties", 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "/$defs", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties", 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 483s # }, 483s # { 483s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 483s # "error": "subschema 0 is not valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/$ref/allOf" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 214 - dependentRequired.json: "single dependency" - "neither" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 215 - dependentRequired.json: "single dependency" - "nondependant" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 216 - dependentRequired.json: "single dependency" - "with dependency" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 217 - dependentRequired.json: "single dependency" - "missing dependency" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 218 - dependentRequired.json: "single dependency" - "ignores arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 219 - dependentRequired.json: "single dependency" - "ignores strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 220 - dependentRequired.json: "single dependency" - "ignores other non-objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 221 - dependentRequired.json: "empty dependents" - "empty object" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 222 - dependentRequired.json: "empty dependents" - "object with one property" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 223 - dependentRequired.json: "empty dependents" - "non-object is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 224 - dependentRequired.json: "multiple dependents required" - "neither" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 225 - dependentRequired.json: "multiple dependents required" - "nondependants" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 226 - dependentRequired.json: "multiple dependents required" - "with dependencies" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 227 - dependentRequired.json: "multiple dependents required" - "missing dependency" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/quux" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/quux" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 228 - dependentRequired.json: "multiple dependents required" - "missing other dependency" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/quux" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/quux" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 229 - dependentRequired.json: "multiple dependents required" - "missing both dependencies" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing properties: foo, bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/quux" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing properties: foo, bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/quux" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 230 - dependentRequired.json: "dependencies with escaped characters" - "CRLF" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 231 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 232 - dependentRequired.json: "dependencies with escaped characters" - "CRLF missing dependent" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo\rbar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/foo\nbar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo\rbar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/foo\nbar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 233 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo'bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/foo\"bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo'bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired/foo\"bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentRequired" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 234 - dependentSchemas.json: "single dependency" - "valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 235 - dependentSchemas.json: "single dependency" - "no dependency" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 236 - dependentSchemas.json: "single dependency" - "wrong type" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar/properties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar/properties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 237 - dependentSchemas.json: "single dependency" - "wrong type other" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar/properties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar/properties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 238 - dependentSchemas.json: "single dependency" - "wrong type both" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 483s # }, 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar/properties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "got string, not integer", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar/properties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 239 - dependentSchemas.json: "single dependency" - "ignores arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 240 - dependentSchemas.json: "single dependency" - "ignores strings" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 241 - dependentSchemas.json: "single dependency" - "ignores other non-objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 242 - dependentSchemas.json: "boolean subschemas" - "object with property having schema true is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 243 - dependentSchemas.json: "boolean subschemas" - "object with property having schema false is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 244 - dependentSchemas.json: "boolean subschemas" - "object with both properties is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "subschema is false", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/bar" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 245 - dependentSchemas.json: "boolean subschemas" - "empty object is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 246 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 247 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo\"bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo'bar/required" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo\"bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo'bar/required" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 248 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab invalid under dependent schema" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object has fewer than 4 properties", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object has fewer than 4 properties", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 249 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote invalid under dependent schema" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo\"bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo'bar/required" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: foo\"bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo'bar/required" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 250 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches root" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 251 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches dependency" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 252 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches both" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "additional property not permitted", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all additional properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 483s # }, 483s # { 483s # "error": "not all dependencies are satisfied", 483s # "instanceLocation": "", 483s # "keywordLocation": "/dependentSchemas" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 253 - dependentSchemas.json: "dependent subschema incompatible with root" - "no dependency" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 254 - enum.json: "simple enum validation" - "one of the enum is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 255 - enum.json: "simple enum validation" - "something else is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 256 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 257 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 258 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 483s # result: { 483s # "errors": [ 483s # { 483s # "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)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "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)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 259 - enum.json: "heterogeneous enum validation" - "valid object matches" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 260 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 261 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 262 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 263 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 264 - enum.json: "enums in properties" - "both properties are valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 265 - enum.json: "enums in properties" - "wrong foo value" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/properties/foo/enum" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/properties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/foo", 483s # "keywordLocation": "/properties/foo/enum" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/properties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 266 - enum.json: "enums in properties" - "wrong bar value" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/properties/bar/enum" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/properties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "/bar", 483s # "keywordLocation": "/properties/bar/enum" 483s # }, 483s # { 483s # "error": "not all properties are valid", 483s # "instanceLocation": "", 483s # "keywordLocation": "/properties" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 267 - enum.json: "enums in properties" - "missing optional property is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 268 - enum.json: "enums in properties" - "missing required property is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/required" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/required" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 269 - enum.json: "enums in properties" - "missing all properties is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/required" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "object is missing property: bar", 483s # "instanceLocation": "", 483s # "keywordLocation": "/required" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 270 - enum.json: "enum with escaped characters" - "member 1 is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 271 - enum.json: "enum with escaped characters" - "member 2 is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 272 - enum.json: "enum with escaped characters" - "another string is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 273 - enum.json: "enum with false does not match 0" - "false is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 274 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 275 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 276 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 277 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 278 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 279 - enum.json: "enum with true does not match 1" - "true is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 280 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 281 - enum.json: "enum with true does not match 1" - "float one is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 282 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 283 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 284 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 285 - enum.json: "enum with 0 does not match false" - "false is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 286 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 287 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 288 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 289 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 290 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 291 - enum.json: "enum with 1 does not match true" - "true is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 292 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 293 - enum.json: "enum with 1 does not match true" - "float one is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 294 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 295 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 296 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 297 - enum.json: "nul characters in strings" - "match string with nul" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 298 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value does not match", 483s # "instanceLocation": "", 483s # "keywordLocation": "/enum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s # 483s ok 299 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 300 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than or equal to 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMaximum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than or equal to 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMaximum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 301 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than or equal to 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMaximum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is greater than or equal to 3", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMaximum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 302 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 303 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 304 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is less than or equal to 1.1", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMinimum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is less than or equal to 1.1", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMinimum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 305 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 483s # result: { 483s # "errors": [ 483s # { 483s # "error": "value is less than or equal to 1.1", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMinimum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s # short-circuited result: { 483s # "errors": [ 483s # { 483s # "error": "value is less than or equal to 1.1", 483s # "instanceLocation": "", 483s # "keywordLocation": "/exclusiveMinimum" 483s # } 483s # ], 483s # "valid": false 483s # } 483s ok 1 - test passes: data is valid: false 483s 1..1 483s } 483s ok 306 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s # 483s ok 307 - format.json: "email format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 308 - format.json: "email format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 309 - format.json: "email format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 310 - format.json: "email format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 311 - format.json: "email format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 312 - format.json: "email format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 313 - format.json: "idn-email format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 314 - format.json: "idn-email format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 315 - format.json: "idn-email format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 316 - format.json: "idn-email format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 317 - format.json: "idn-email format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 318 - format.json: "idn-email format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 319 - format.json: "regex format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 320 - format.json: "regex format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 321 - format.json: "regex format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 322 - format.json: "regex format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 323 - format.json: "regex format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 324 - format.json: "regex format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 325 - format.json: "ipv4 format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 326 - format.json: "ipv4 format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 327 - format.json: "ipv4 format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 328 - format.json: "ipv4 format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 329 - format.json: "ipv4 format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 330 - format.json: "ipv4 format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 331 - format.json: "ipv6 format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 332 - format.json: "ipv6 format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 333 - format.json: "ipv6 format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 334 - format.json: "ipv6 format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 335 - format.json: "ipv6 format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 336 - format.json: "ipv6 format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 337 - format.json: "idn-hostname format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 338 - format.json: "idn-hostname format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 339 - format.json: "idn-hostname format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 340 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 341 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 342 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 343 - format.json: "hostname format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 344 - format.json: "hostname format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 345 - format.json: "hostname format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 346 - format.json: "hostname format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 347 - format.json: "hostname format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 348 - format.json: "hostname format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 349 - format.json: "date format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 350 - format.json: "date format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 351 - format.json: "date format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 352 - format.json: "date format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 353 - format.json: "date format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 354 - format.json: "date format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 355 - format.json: "date-time format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 356 - format.json: "date-time format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 357 - format.json: "date-time format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 358 - format.json: "date-time format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 359 - format.json: "date-time format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 360 - format.json: "date-time format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 361 - format.json: "time format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 362 - format.json: "time format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 363 - format.json: "time format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 364 - format.json: "time format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 365 - format.json: "time format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 366 - format.json: "time format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 367 - format.json: "json-pointer format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 368 - format.json: "json-pointer format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 369 - format.json: "json-pointer format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 370 - format.json: "json-pointer format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 371 - format.json: "json-pointer format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 372 - format.json: "json-pointer format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 373 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 374 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 375 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 376 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 377 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 378 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 483s 1..1 483s } 483s ok 379 - format.json: "iri format" - "all string formats ignore integers" { 483s # result: { 483s # "valid": true 483s # } 483s # short-circuited result: { 483s # "valid": true 483s # } 483s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 380 - format.json: "iri format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 381 - format.json: "iri format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 382 - format.json: "iri format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 383 - format.json: "iri format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 384 - format.json: "iri format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 385 - format.json: "iri-reference format" - "all string formats ignore integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 386 - format.json: "iri-reference format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 387 - format.json: "iri-reference format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 388 - format.json: "iri-reference format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 389 - format.json: "iri-reference format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 390 - format.json: "iri-reference format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 391 - format.json: "uri format" - "all string formats ignore integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 392 - format.json: "uri format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 393 - format.json: "uri format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 394 - format.json: "uri format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 395 - format.json: "uri format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 396 - format.json: "uri format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 397 - format.json: "uri-reference format" - "all string formats ignore integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 398 - format.json: "uri-reference format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 399 - format.json: "uri-reference format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 400 - format.json: "uri-reference format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 401 - format.json: "uri-reference format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 402 - format.json: "uri-reference format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 403 - format.json: "uri-template format" - "all string formats ignore integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 404 - format.json: "uri-template format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 405 - format.json: "uri-template format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 406 - format.json: "uri-template format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 407 - format.json: "uri-template format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 408 - format.json: "uri-template format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 409 - format.json: "uuid format" - "all string formats ignore integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 410 - format.json: "uuid format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 411 - format.json: "uuid format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 412 - format.json: "uuid format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 413 - format.json: "uuid format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 414 - format.json: "uuid format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 415 - format.json: "duration format" - "all string formats ignore integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 416 - format.json: "duration format" - "all string formats ignore floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 417 - format.json: "duration format" - "all string formats ignore objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 418 - format.json: "duration format" - "all string formats ignore arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 419 - format.json: "duration format" - "all string formats ignore booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 420 - format.json: "duration format" - "all string formats ignore nulls" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 421 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 422 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 423 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 424 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 425 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 426 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 427 - if-then-else.json: "if and then without else" - "valid through then" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 428 - if-then-else.json: "if and then without else" - "invalid through then" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/minimum" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/minimum" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 429 - if-then-else.json: "if and then without else" - "valid when if test fails" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 430 - if-then-else.json: "if and else without then" - "valid when if test passes" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 431 - if-then-else.json: "if and else without then" - "valid through else" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 432 - if-then-else.json: "if and else without then" - "invalid through else" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/multipleOf" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/multipleOf" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 433 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 434 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/minimum" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/minimum" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 435 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 436 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/multipleOf" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/multipleOf" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 437 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 438 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 439 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 440 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 441 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 442 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 443 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 444 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 445 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/then" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 446 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/const" 484s # }, 484s # { 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s 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" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s 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" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/int/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/int/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/additionalProperties" 484s # }, 484s # { 484s # "error": "subschemas 0, 1 are not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/int/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/properties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 449 - items.json: "a schema given for items" - "valid items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 450 - items.json: "a schema given for items" - "wrong type of items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 451 - items.json: "a schema given for items" - "ignores non-arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 452 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 453 - items.json: "an array of schemas for items" - "correct types" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 454 - items.json: "an array of schemas for items" - "wrong types" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/type" 484s # }, 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/1/type" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/type" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 455 - items.json: "an array of schemas for items" - "incomplete array of items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 456 - items.json: "an array of schemas for items" - "array with additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 457 - items.json: "an array of schemas for items" - "empty array" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 458 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 459 - items.json: "items with boolean schema (true)" - "any array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 460 - items.json: "items with boolean schema (true)" - "empty array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 461 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items" 484s # }, 484s # { 484s # "error": "item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items" 484s # }, 484s # { 484s # "error": "item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 462 - items.json: "items with boolean schema (false)" - "empty array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 463 - items.json: "items with boolean schemas" - "array with one item is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 464 - items.json: "items with boolean schemas" - "array with two items is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/1" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/1" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 465 - items.json: "items with boolean schemas" - "empty array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 466 - items.json: "items and subitems" - "valid items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 467 - items.json: "items and subitems" - "too many items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/3", 484s # "keywordLocation": "/additionalItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/3", 484s # "keywordLocation": "/additionalItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 468 - items.json: "items and subitems" - "too many sub-items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0/2", 484s # "keywordLocation": "/items/0/$ref/additionalItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/$ref/additionalItems" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0/2", 484s # "keywordLocation": "/items/0/$ref/additionalItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/$ref/additionalItems" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 469 - items.json: "items and subitems" - "wrong item" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/type", 484s # "error": "got object, not array", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/$ref/type" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/type", 484s # "error": "got object, not array", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/$ref/type" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 470 - items.json: "items and subitems" - "wrong sub-item" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/items", 484s # "error": "not all items are valid", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/$ref/items" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/item/items", 484s # "error": "not all items are valid", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/0/$ref/items" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 471 - items.json: "items and subitems" - "fewer items is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 472 - items.json: "nested items" - "valid nested array" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 473 - items.json: "nested items" - "nested array with invalid type" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/0/0/0/0", 484s # "keywordLocation": "/items/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/0/0", 484s # "keywordLocation": "/items/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/0/0/0/0", 484s # "keywordLocation": "/items/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/0/0", 484s # "keywordLocation": "/items/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 474 - items.json: "nested items" - "not deep enough" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/0/0/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/0/1/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/1", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/0/2/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/2", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/1/0/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/1/0", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/1/1/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/1/1", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/1/2/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/1/2", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "/0/0/0", 484s # "keywordLocation": "/items/items/items/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 475 - items.json: "single-form items with null instance elements" - "allows null elements" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 476 - items.json: "array-form items with null instance elements" - "allows null elements" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 477 - maxContains.json: "maxContains without contains is ignored" - "one item valid against lone maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 478 - maxContains.json: "maxContains without contains is ignored" - "two items still valid against lone maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 479 - maxContains.json: "maxContains with contains" - "empty data" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 480 - maxContains.json: "maxContains with contains" - "all elements match, valid maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 481 - maxContains.json: "maxContains with contains" - "all elements match, invalid maxContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 482 - maxContains.json: "maxContains with contains" - "some elements match, valid maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 483 - maxContains.json: "maxContains with contains" - "some elements match, invalid maxContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 484 - maxContains.json: "maxContains with contains, value with a decimal" - "one element matches, valid maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 485 - maxContains.json: "maxContains with contains, value with a decimal" - "too many elements match, invalid maxContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 486 - maxContains.json: "minContains < maxContains" - "actual < minContains < maxContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # }, 484s # { 484s # "error": "array contains fewer than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 487 - maxContains.json: "minContains < maxContains" - "minContains < actual < maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 488 - maxContains.json: "minContains < maxContains" - "minContains < maxContains < actual" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 3 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 3 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 489 - maxItems.json: "maxItems validation" - "shorter is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 490 - maxItems.json: "maxItems validation" - "exact length is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 491 - maxItems.json: "maxItems validation" - "too long is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 2 items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 2 items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 492 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 493 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 494 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 2 items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 2 items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 495 - maxLength.json: "maxLength validation" - "shorter is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 496 - maxLength.json: "maxLength validation" - "exact length is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 497 - maxLength.json: "maxLength validation" - "too long is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is greater than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is greater than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 498 - maxLength.json: "maxLength validation" - "ignores non-strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 499 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 500 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 501 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is greater than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is greater than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 502 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 503 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 504 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object has more than 2 properties", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object has more than 2 properties", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 505 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 506 - maxProperties.json: "maxProperties validation" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 507 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 508 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 509 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object has more than 2 properties", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object has more than 2 properties", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 510 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 511 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object has more than 0 property", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object has more than 0 property", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 512 - maximum.json: "maximum validation" - "below the maximum is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 513 - maximum.json: "maximum validation" - "boundary point is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 514 - maximum.json: "maximum validation" - "above the maximum is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than 3", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than 3", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 515 - maximum.json: "maximum validation" - "ignores non-numbers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 516 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 517 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 518 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 519 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than 300", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than 300", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 520 - minContains.json: "minContains without contains is ignored" - "one item valid against lone minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 521 - minContains.json: "minContains without contains is ignored" - "zero items still valid against lone minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 522 - minContains.json: "minContains=1 with contains" - "empty data" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # }, 484s # { 484s # "error": "array contains fewer than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 523 - minContains.json: "minContains=1 with contains" - "no elements match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/contains/const" 484s # }, 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # }, 484s # { 484s # "error": "array contains fewer than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/contains/const" 484s # }, 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 524 - minContains.json: "minContains=1 with contains" - "single element matches, valid minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 525 - minContains.json: "minContains=1 with contains" - "some elements match, valid minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 526 - minContains.json: "minContains=1 with contains" - "all elements match, valid minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 527 - minContains.json: "minContains=2 with contains" - "empty data" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # }, 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 528 - minContains.json: "minContains=2 with contains" - "all elements match, invalid minContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 529 - minContains.json: "minContains=2 with contains" - "some elements match, invalid minContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 530 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (exactly as needed)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 531 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (more than needed)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 532 - minContains.json: "minContains=2 with contains" - "some elements match, valid minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 533 - minContains.json: "minContains=2 with contains with a decimal value" - "one element matches, invalid minContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 534 - minContains.json: "minContains=2 with contains with a decimal value" - "both elements match, valid minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 535 - minContains.json: "maxContains = minContains" - "empty data" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # }, 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 536 - minContains.json: "maxContains = minContains" - "all elements match, invalid minContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 537 - minContains.json: "maxContains = minContains" - "all elements match, invalid maxContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 2 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 538 - minContains.json: "maxContains = minContains" - "all elements match, valid maxContains and minContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 539 - minContains.json: "maxContains < minContains" - "empty data" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # }, 484s # { 484s # "error": "array contains fewer than 3 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is not valid against any item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/contains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 540 - minContains.json: "maxContains < minContains" - "invalid minContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 3 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains fewer than 3 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 541 - minContains.json: "maxContains < minContains" - "invalid maxContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 542 - minContains.json: "maxContains < minContains" - "invalid maxContains and minContains" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # }, 484s # { 484s # "error": "array contains fewer than 3 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 543 - minContains.json: "minContains = 0 with no maxContains" - "empty data" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 544 - minContains.json: "minContains = 0 with no maxContains" - "minContains = 0 makes contains always pass" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 545 - minContains.json: "minContains = 0 with maxContains" - "empty data" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 546 - minContains.json: "minContains = 0 with maxContains" - "not more than maxContains" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 547 - minContains.json: "minContains = 0 with maxContains" - "too many" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array contains more than 1 matching items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/maxContains" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 548 - minItems.json: "minItems validation" - "longer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 549 - minItems.json: "minItems validation" - "exact length is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 550 - minItems.json: "minItems validation" - "too short is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 1 item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 1 item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 551 - minItems.json: "minItems validation" - "ignores non-arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 552 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 553 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 1 item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 1 item", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 554 - minLength.json: "minLength validation" - "longer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 555 - minLength.json: "minLength validation" - "exact length is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 556 - minLength.json: "minLength validation" - "too short is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 557 - minLength.json: "minLength validation" - "ignores non-strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 558 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 559 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 560 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 561 - minProperties.json: "minProperties validation" - "longer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 562 - minProperties.json: "minProperties validation" - "exact length is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 563 - minProperties.json: "minProperties validation" - "too short is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object has fewer than 1 property", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object has fewer than 1 property", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 564 - minProperties.json: "minProperties validation" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 565 - minProperties.json: "minProperties validation" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 566 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 567 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 568 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object has fewer than 1 property", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object has fewer than 1 property", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 569 - minimum.json: "minimum validation" - "above the minimum is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 570 - minimum.json: "minimum validation" - "boundary point is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 571 - minimum.json: "minimum validation" - "below the minimum is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than 1.1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than 1.1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 572 - minimum.json: "minimum validation" - "ignores non-numbers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 573 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 574 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 575 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 576 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 577 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 578 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than -2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 579 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 580 - multipleOf.json: "by int" - "int by int" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 581 - multipleOf.json: "by int" - "int by int fail" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 582 - multipleOf.json: "by int" - "ignores non-numbers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 583 - multipleOf.json: "by number" - "zero is multiple of anything" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 584 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 585 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 1.5", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 1.5", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 586 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 587 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 0.0001", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 0.0001", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 588 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 0.123456789", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is not a multiple of 0.123456789", 484s # "instanceLocation": "", 484s # "keywordLocation": "/multipleOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 589 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 590 - not.json: "not" - "allowed" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 591 - not.json: "not" - "disallowed" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 592 - not.json: "not multiple types" - "valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 593 - not.json: "not multiple types" - "mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 594 - not.json: "not multiple types" - "other mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 595 - not.json: "not more complex schema" - "match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 596 - not.json: "not more complex schema" - "other match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 597 - not.json: "not more complex schema" - "mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 598 - not.json: "forbidden property" - "property present" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/not" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/not" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 599 - not.json: "forbidden property" - "property absent" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 600 - not.json: "forbid everything with empty schema" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 601 - not.json: "forbid everything with empty schema" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 602 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 603 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 604 - not.json: "forbid everything with empty schema" - "null is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 605 - not.json: "forbid everything with empty schema" - "object is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 606 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 607 - not.json: "forbid everything with empty schema" - "array is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 608 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 609 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 610 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 611 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 612 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 613 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 614 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 615 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 616 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 617 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 618 - not.json: "allow everything with boolean schema false" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 619 - not.json: "allow everything with boolean schema false" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 620 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 621 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 622 - not.json: "allow everything with boolean schema false" - "null is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 623 - not.json: "allow everything with boolean schema false" - "object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 624 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 625 - not.json: "allow everything with boolean schema false" - "array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 626 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 627 - not.json: "double negation" - "any value is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 628 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 629 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/not" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 630 - oneOf.json: "oneOf" - "first oneOf valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 631 - oneOf.json: "oneOf" - "second oneOf valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 632 - oneOf.json: "oneOf" - "both oneOf valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 633 - oneOf.json: "oneOf" - "neither oneOf valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/type" 484s # }, 484s # { 484s # "error": "value is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/minimum" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/type" 484s # }, 484s # { 484s # "error": "value is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/minimum" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 634 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # }, 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 635 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 636 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 637 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 638 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 639 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 640 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0" 484s # }, 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1" 484s # }, 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/2" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0" 484s # }, 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1" 484s # }, 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/2" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 641 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 642 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 643 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 644 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/oneOf/0/properties/bar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/properties" 484s # }, 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/oneOf/1/properties/foo/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/properties" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/oneOf/0/properties/bar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/properties" 484s # }, 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/oneOf/1/properties/foo/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/properties" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 645 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 646 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 647 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/required" 484s # }, 484s # { 484s # "error": "object is missing properties: foo, baz", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/required" 484s # }, 484s # { 484s # "error": "object is missing properties: foo, baz", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 648 - oneOf.json: "oneOf with required" - "first valid - valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 649 - oneOf.json: "oneOf with required" - "second valid - valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 650 - oneOf.json: "oneOf with required" - "both valid - invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 651 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 652 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 653 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 654 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing property: bar", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/required" 484s # }, 484s # { 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing property: bar", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/required" 484s # }, 484s # { 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 655 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 656 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/oneOf/0/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/oneOf" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/oneOf/0/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/oneOf" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 657 - pattern.json: "pattern validation" - "a matching pattern is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 658 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 659 - pattern.json: "pattern validation" - "ignores booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 660 - pattern.json: "pattern validation" - "ignores integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 661 - pattern.json: "pattern validation" - "ignores floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 662 - pattern.json: "pattern validation" - "ignores objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 663 - pattern.json: "pattern validation" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 664 - pattern.json: "pattern validation" - "ignores null" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 665 - pattern.json: "pattern is not anchored" - "matches a substring" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 666 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 667 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 668 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/patternProperties/f.*o/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/patternProperties/f.*o/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 669 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/patternProperties/f.*o/type" 484s # }, 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foooooo", 484s # "keywordLocation": "/patternProperties/f.*o/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/patternProperties/f.*o/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 670 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 671 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 672 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 673 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 674 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 675 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 676 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/a", 484s # "keywordLocation": "/patternProperties/a*/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/a", 484s # "keywordLocation": "/patternProperties/a*/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 677 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than 20", 484s # "instanceLocation": "/aaaa", 484s # "keywordLocation": "/patternProperties/aaa*/maximum" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than 20", 484s # "instanceLocation": "/aaaa", 484s # "keywordLocation": "/patternProperties/aaa*/maximum" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 678 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/aaa", 484s # "keywordLocation": "/patternProperties/a*/type" 484s # }, 484s # { 484s # "error": "value is greater than 20", 484s # "instanceLocation": "/aaaa", 484s # "keywordLocation": "/patternProperties/aaa*/maximum" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/aaa", 484s # "keywordLocation": "/patternProperties/a*/type" 484s # }, 484s # { 484s # "error": "value is greater than 20", 484s # "instanceLocation": "/aaaa", 484s # "keywordLocation": "/patternProperties/aaa*/maximum" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 679 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 680 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not boolean", 484s # "instanceLocation": "/a31b", 484s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not boolean", 484s # "instanceLocation": "/a31b", 484s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 681 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 682 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/a_X_3", 484s # "keywordLocation": "/patternProperties/X_/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/a_X_3", 484s # "keywordLocation": "/patternProperties/X_/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 683 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 684 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/patternProperties/b.*" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/patternProperties/b.*" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 685 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/patternProperties/b.*" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/patternProperties/b.*" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 686 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/foobar", 484s # "keywordLocation": "/patternProperties/b.*" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/foobar", 484s # "keywordLocation": "/patternProperties/b.*" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 687 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 688 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 689 - properties.json: "object properties validation" - "both properties present and valid is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 690 - properties.json: "object properties validation" - "one property invalid is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 691 - properties.json: "object properties validation" - "both properties invalid is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/type" 484s # }, 484s # { 484s # "error": "got array, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 692 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 693 - properties.json: "object properties validation" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 694 - properties.json: "object properties validation" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 695 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 696 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 3 items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/maxItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 3 items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/maxItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 697 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 2 items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/patternProperties/f.o/minItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 2 items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/patternProperties/f.o/minItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 698 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 699 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 2 items", 484s # "instanceLocation": "/fxo", 484s # "keywordLocation": "/patternProperties/f.o/minItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has fewer than 2 items", 484s # "instanceLocation": "/fxo", 484s # "keywordLocation": "/patternProperties/f.o/minItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 700 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 701 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 702 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/quux", 484s # "keywordLocation": "/additionalProperties/type" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/quux", 484s # "keywordLocation": "/additionalProperties/type" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 703 - properties.json: "properties with boolean schema" - "no property present is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 704 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 705 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 706 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 707 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 708 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\tbar", 484s # "keywordLocation": "/properties/foo\tbar/type" 484s # }, 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\nbar", 484s # "keywordLocation": "/properties/foo\nbar/type" 484s # }, 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\fbar", 484s # "keywordLocation": "/properties/foo\fbar/type" 484s # }, 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\rbar", 484s # "keywordLocation": "/properties/foo\rbar/type" 484s # }, 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\"bar", 484s # "keywordLocation": "/properties/foo\"bar/type" 484s # }, 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\\bar", 484s # "keywordLocation": "/properties/foo\\bar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\tbar", 484s # "keywordLocation": "/properties/foo\tbar/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 709 - properties.json: "properties with null valued instance properties" - "allows null values" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 710 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 711 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 712 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 713 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/__proto__", 484s # "keywordLocation": "/properties/__proto__/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/__proto__", 484s # "keywordLocation": "/properties/__proto__/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 714 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/toString/length", 484s # "keywordLocation": "/properties/toString/properties/length/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/toString", 484s # "keywordLocation": "/properties/toString/properties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/toString/length", 484s # "keywordLocation": "/properties/toString/properties/length/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/toString", 484s # "keywordLocation": "/properties/toString/properties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 715 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not number", 484s # "instanceLocation": "/constructor", 484s # "keywordLocation": "/properties/constructor/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not number", 484s # "instanceLocation": "/constructor", 484s # "keywordLocation": "/properties/constructor/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 716 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 717 - propertyNames.json: "propertyNames validation" - "all property names valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 718 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is greater than 3", 484s # "instanceLocation": "/foobar", 484s # "keywordLocation": "/propertyNames/maxLength" 484s # }, 484s # { 484s # "error": "not all property names are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/propertyNames" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is greater than 3", 484s # "instanceLocation": "/foobar", 484s # "keywordLocation": "/propertyNames/maxLength" 484s # }, 484s # { 484s # "error": "not all property names are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/propertyNames" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 719 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 720 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 721 - propertyNames.json: "propertyNames validation" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 722 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 723 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 724 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "/aaA", 484s # "keywordLocation": "/propertyNames/pattern" 484s # }, 484s # { 484s # "error": "not all property names are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/propertyNames" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "/aaA", 484s # "keywordLocation": "/propertyNames/pattern" 484s # }, 484s # { 484s # "error": "not all property names are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/propertyNames" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 725 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 726 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 727 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 728 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/propertyNames" 484s # }, 484s # { 484s # "error": "not all property names are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/propertyNames" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "subschema is false", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/propertyNames" 484s # }, 484s # { 484s # "error": "not all property names are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/propertyNames" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 729 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 730 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 731 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 732 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 733 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 734 - recursiveRef.json: "$recursiveRef without using nesting" - "integer matches at the outer level" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 735 - recursiveRef.json: "$recursiveRef without using nesting" - "single level match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 736 - recursiveRef.json: "$recursiveRef without using nesting" - "integer does not match as a property value" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 737 - recursiveRef.json: "$recursiveRef without using nesting" - "two levels, properties match with inner definition" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 738 - recursiveRef.json: "$recursiveRef without using nesting" - "two levels, no match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 739 - recursiveRef.json: "$recursiveRef with nesting" - "integer matches at the outer level" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 740 - recursiveRef.json: "$recursiveRef with nesting" - "single level match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 741 - recursiveRef.json: "$recursiveRef with nesting" - "integer now matches as a property value" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 742 - recursiveRef.json: "$recursiveRef with nesting" - "two levels, properties match with inner definition" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 743 - recursiveRef.json: "$recursiveRef with nesting" - "two levels, properties match with $recursiveRef" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 744 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "integer matches at the outer level" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 745 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "single level match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 746 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "integer does not match as a property value" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 747 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "two levels, properties match with inner definition" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 748 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "two levels, integer does not match as a property value" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 749 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "integer matches at the outer level" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 750 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "single level match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 751 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "integer does not match as a property value" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 752 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "two levels, properties match with inner definition" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 753 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "two levels, integer does not match as a property value" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 484s # "error": "got integer, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 754 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node does not match; no recursion" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 755 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node matches: recursion uses the inner schema" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 756 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node does not match: recursion uses the inner schema" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 757 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node does not match; no recursion" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 758 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node matches: recursion only uses inner schema" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 759 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node does not match: recursion only uses inner schema" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 484s # "error": "got boolean, not object", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 760 - recursiveRef.json: "multiple dynamic paths to the $recursiveRef keyword" - "recurse to anyLeafNode - floats are allowed" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 761 - recursiveRef.json: "multiple dynamic paths to the $recursiveRef keyword" - "recurse to integerNode - floats are not allowed" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_integerNode.json#/type", 484s # "error": "got number, not one of object, integer", 484s # "instanceLocation": "/november", 484s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_inner.json#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/$ref/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_main.json#/else", 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_integerNode.json#/type", 484s # "error": "got number, not one of object, integer", 484s # "instanceLocation": "/november", 484s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_inner.json#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/$ref/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_main.json#/else", 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 762 - recursiveRef.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "numeric node" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 763 - recursiveRef.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "integer node" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/integerNode.json#/type", 484s # "error": "got number, not one of object, integer", 484s # "instanceLocation": "/november", 484s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/inner.json#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/$ref/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/main.json#/else", 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/integerNode.json#/type", 484s # "error": "got number, not one of object, integer", 484s # "instanceLocation": "/november", 484s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/inner.json#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else/$ref/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/main.json#/else", 484s # "error": "subschema is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/else" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 764 - ref.json: "root pointer ref" - "match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 765 - ref.json: "root pointer ref" - "recursive match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 766 - ref.json: "root pointer ref" - "mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 767 - ref.json: "root pointer ref" - "recursive mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/additionalProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 768 - ref.json: "relative pointer ref to object" - "match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 769 - ref.json: "relative pointer ref to object" - "mismatch" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/properties/foo/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/properties/foo/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 770 - ref.json: "relative pointer ref to array" - "match array" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 771 - ref.json: "relative pointer ref to array" - "mismatch array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/items/0/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/1/$ref/type" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/items/0/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/items/1/$ref/type" 484s # }, 484s # { 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 772 - ref.json: "escaped pointer ref" - "slash invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/slash", 484s # "keywordLocation": "/properties/slash/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/slash", 484s # "keywordLocation": "/properties/slash/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 773 - ref.json: "escaped pointer ref" - "tilde invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/tilde", 484s # "keywordLocation": "/properties/tilde/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/tilde", 484s # "keywordLocation": "/properties/tilde/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 774 - ref.json: "escaped pointer ref" - "percent invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/percent", 484s # "keywordLocation": "/properties/percent/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/percent", 484s # "keywordLocation": "/properties/percent/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 775 - ref.json: "escaped pointer ref" - "slash valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 776 - ref.json: "escaped pointer ref" - "tilde valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 777 - ref.json: "escaped pointer ref" - "percent valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 778 - ref.json: "nested refs" - "nested ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 779 - ref.json: "nested refs" - "nested ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/a/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/a/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 780 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 781 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 2 items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/maxItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "array has more than 2 items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/maxItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 782 - ref.json: "ref applies alongside sibling keywords" - "ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/reffed/type", 484s # "error": "got string, not array", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/reffed/type", 484s # "error": "got string, not array", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 783 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 784 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/nonNegativeInteger/minimum", 484s # "error": "value is less than 0", 484s # "instanceLocation": "/minLength", 484s # "keywordLocation": "/$ref/allOf/2/$ref/properties/minLength/$ref/$ref/minimum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/allOf/2/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/nonNegativeInteger/minimum", 484s # "error": "value is less than 0", 484s # "instanceLocation": "/minLength", 484s # "keywordLocation": "/$ref/allOf/2/$ref/properties/minLength/$ref/$ref/minimum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/allOf/2/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 785 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 786 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/$ref", 484s # "keywordLocation": "/properties/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/$ref", 484s # "keywordLocation": "/properties/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 787 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 788 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/is-string/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/$ref", 484s # "keywordLocation": "/properties/$ref/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/is-string/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/$ref", 484s # "keywordLocation": "/properties/$ref/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 789 - ref.json: "$ref to boolean schema true" - "any value is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 790 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/bool", 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/bool", 484s # "error": "subschema is false", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 791 - ref.json: "Recursive references between schemas" - "valid tree" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 792 - ref.json: "Recursive references between schemas" - "invalid tree" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties/value/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/nodes/0/subtree/nodes/0", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/nodes/0/subtree/nodes", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/nodes/0/subtree", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/nodes/0", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/nodes", 484s # "keywordLocation": "/properties/nodes/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties/value/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/nodes/0/subtree/nodes/0", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/nodes/0/subtree/nodes", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/nodes/0/subtree", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/nodes/0", 484s # "keywordLocation": "/properties/nodes/items/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/nodes", 484s # "keywordLocation": "/properties/nodes/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 793 - ref.json: "refs with quote" - "object with numbers is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 794 - ref.json: "refs with quote" - "object with strings is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\"bar", 484s # "keywordLocation": "/properties/foo\"bar/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "/foo\"bar", 484s # "keywordLocation": "/properties/foo\"bar/$ref/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 795 - ref.json: "ref creates new scope when adjacent to keywords" - "referenced subschema doesn't see annotations from properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/prop1", 484s # "keywordLocation": "/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/prop1", 484s # "keywordLocation": "/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s 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" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/enum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/enum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s 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" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/enum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/enum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 798 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 799 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 800 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/$ref/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/$ref/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 801 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 802 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo/bar", 484s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 803 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/$ref/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/$ref/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 804 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 805 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 806 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 807 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 808 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id1/int.json#/maximum", 484s # "error": "value is greater than 10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id1/int.json#/maximum", 484s # "error": "value is greater than 10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 809 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 810 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id2/base.json#/$defs/bigint/maximum", 484s # "error": "value is greater than 10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id2/base.json#/$defs/bigint/maximum", 484s # "error": "value is greater than 10", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/maximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 811 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 812 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 484s # "error": "value is less than 30", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/minimum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 484s # "error": "value is less than 30", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/minimum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 813 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 814 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 815 - ref.json: "URN base URI with NSS" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 816 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 817 - ref.json: "URN base URI with r-component" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 818 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 819 - ref.json: "URN base URI with q-component" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 820 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 821 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 822 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 823 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 824 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 825 - ref.json: "URN ref with nested pointer ref" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 826 - ref.json: "URN ref with nested pointer ref" - "a non-string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 827 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 828 - ref.json: "ref to if" - "an integer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 829 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 830 - ref.json: "ref to then" - "an integer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 831 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 832 - ref.json: "ref to else" - "an integer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 833 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 834 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 835 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 836 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 837 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 838 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 839 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 840 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs//$defs//type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/$ref/type" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs//$defs//type", 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/$ref/type" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 841 - ref.json: "$ref with $recursiveAnchor" - "extra items allowed for inner arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 842 - ref.json: "$ref with $recursiveAnchor" - "extra items disallowed for root" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 843 - refRemote.json: "remote ref" - "remote ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 844 - refRemote.json: "remote ref" - "remote ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 845 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 846 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 847 - refRemote.json: "anchor within remote ref" - "remote anchor valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 848 - refRemote.json: "anchor within remote ref" - "remote anchor invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 849 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 850 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 851 - refRemote.json: "base URI change" - "base URI change ref valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 852 - refRemote.json: "base URI change" - "base URI change ref invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/items/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChange/#/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/#/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/0/0", 484s # "keywordLocation": "/items/items/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChange/#/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/items/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/#/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 853 - refRemote.json: "base URI change - change folder" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 854 - refRemote.json: "base URI change - change folder" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/list/0", 484s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolder/#/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/list", 484s # "keywordLocation": "/properties/list/$ref/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs1.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/list/0", 484s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolder/#/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/list", 484s # "keywordLocation": "/properties/list/$ref/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs1.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 855 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 856 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/list/0", 484s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/#/$defs/bar/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/list", 484s # "keywordLocation": "/properties/list/$ref/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs2.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "/list/0", 484s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/#/$defs/bar/items", 484s # "error": "subschema is not valid against all items", 484s # "instanceLocation": "/list", 484s # "keywordLocation": "/properties/list/$ref/items" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs2.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 857 - refRemote.json: "root ref in remote ref" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 858 - refRemote.json: "root ref in remote ref" - "null is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 859 - refRemote.json: "root ref in remote ref" - "object is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf/0/type", 484s # "error": "got object, not null", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/object#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf/0/type", 484s # "error": "got object, not null", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/anyOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/object#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 860 - refRemote.json: "remote ref with ref to defs" - "invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/$ref/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/$ref/$ref/properties/bar/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 861 - refRemote.json: "remote ref with ref to defs" - "valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 862 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 863 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 864 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/name/foo", 484s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/foo-ref-string.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/some-id#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/name/foo", 484s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/foo-ref-string.json#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/name", 484s # "keywordLocation": "/properties/name/$ref/properties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/some-id#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 865 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 866 - refRemote.json: "remote HTTP ref with different $id" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 867 - refRemote.json: "remote HTTP ref with different $id" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 868 - refRemote.json: "remote HTTP ref with different URN $id" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 869 - refRemote.json: "remote HTTP ref with different URN $id" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 870 - refRemote.json: "remote HTTP ref with nested absolute ref" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 871 - refRemote.json: "remote HTTP ref with nested absolute ref" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 872 - refRemote.json: "$ref to $ref finds detached $anchor" - "number is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 873 - refRemote.json: "$ref to $ref finds detached $anchor" - "non-number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/detached-ref.json#/$defs/detached/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/detached-ref.json#/$defs/detached/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/$ref/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 874 - required.json: "required validation" - "present required property is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 875 - required.json: "required validation" - "non-present required property is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing property: foo", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 876 - required.json: "required validation" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 877 - required.json: "required validation" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 878 - required.json: "required validation" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 879 - required.json: "required default validation" - "not required by default" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 880 - required.json: "required with empty array" - "property not required" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 881 - required.json: "required with escaped characters" - "object with all properties present is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 882 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 883 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 884 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 885 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: __proto__, toString, constructor", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: __proto__, toString, constructor", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 886 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: toString, constructor", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: toString, constructor", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 887 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: __proto__, constructor", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: __proto__, constructor", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 888 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: __proto__, toString", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "object is missing properties: __proto__, toString", 484s # "instanceLocation": "", 484s # "keywordLocation": "/required" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 889 - required.json: "required properties whose names are Javascript object property names" - "all present" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 890 - type.json: "integer type matches integers" - "an integer is an integer" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 891 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 892 - type.json: "integer type matches integers" - "a float is not an integer" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got number, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got number, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 893 - type.json: "integer type matches integers" - "a string is not an integer" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 894 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got string, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 895 - type.json: "integer type matches integers" - "an object is not an integer" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got object, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 896 - type.json: "integer type matches integers" - "an array is not an integer" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got array, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got array, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 897 - type.json: "integer type matches integers" - "a boolean is not an integer" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got boolean, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 898 - type.json: "integer type matches integers" - "null is not an integer" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got null, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 484s # "error": "got null, not integer", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 899 - type.json: "number type matches numbers" - "an integer is a number" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 900 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 901 - type.json: "number type matches numbers" - "a float is a number" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 902 - type.json: "number type matches numbers" - "a string is not a number" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 903 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 904 - type.json: "number type matches numbers" - "an object is not a number" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 905 - type.json: "number type matches numbers" - "an array is not a number" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 906 - type.json: "number type matches numbers" - "a boolean is not a number" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 907 - type.json: "number type matches numbers" - "null is not a number" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 908 - type.json: "string type matches strings" - "1 is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 909 - type.json: "string type matches strings" - "a float is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got number, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got number, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 910 - type.json: "string type matches strings" - "a string is a string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 911 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 912 - type.json: "string type matches strings" - "an empty string is still a string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 913 - type.json: "string type matches strings" - "an object is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 914 - type.json: "string type matches strings" - "an array is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got array, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got array, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 915 - type.json: "string type matches strings" - "a boolean is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got boolean, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got boolean, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 916 - type.json: "string type matches strings" - "null is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got null, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got null, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 917 - type.json: "object type matches objects" - "an integer is not an object" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 918 - type.json: "object type matches objects" - "a float is not an object" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 919 - type.json: "object type matches objects" - "a string is not an object" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 920 - type.json: "object type matches objects" - "an object is an object" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 921 - type.json: "object type matches objects" - "an array is not an object" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 922 - type.json: "object type matches objects" - "a boolean is not an object" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 923 - type.json: "object type matches objects" - "null is not an object" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 924 - type.json: "array type matches arrays" - "an integer is not an array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 925 - type.json: "array type matches arrays" - "a float is not an array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 926 - type.json: "array type matches arrays" - "a string is not an array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 927 - type.json: "array type matches arrays" - "an object is not an array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 928 - type.json: "array type matches arrays" - "an array is an array" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 929 - type.json: "array type matches arrays" - "a boolean is not an array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 930 - type.json: "array type matches arrays" - "null is not an array" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not array", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 931 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 932 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 933 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 934 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 935 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 936 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 937 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 938 - type.json: "boolean type matches booleans" - "true is a boolean" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 939 - type.json: "boolean type matches booleans" - "false is a boolean" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 940 - type.json: "boolean type matches booleans" - "null is not a boolean" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not boolean", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 941 - type.json: "null type matches only the null object" - "an integer is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 942 - type.json: "null type matches only the null object" - "a float is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 943 - type.json: "null type matches only the null object" - "zero is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 944 - type.json: "null type matches only the null object" - "a string is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 945 - type.json: "null type matches only the null object" - "an empty string is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 946 - type.json: "null type matches only the null object" - "an object is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 947 - type.json: "null type matches only the null object" - "an array is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 948 - type.json: "null type matches only the null object" - "true is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 949 - type.json: "null type matches only the null object" - "false is not null" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 950 - type.json: "null type matches only the null object" - "null is null" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 951 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 952 - type.json: "multiple types can be specified in an array" - "a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 953 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got number, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 954 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got object, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 955 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got array, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 956 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got boolean, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 957 - type.json: "multiple types can be specified in an array" - "null is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not one of integer, string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 958 - type.json: "type as array with one item" - "string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 959 - type.json: "type as array with one item" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not one of string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not one of string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 960 - type.json: "type: array or object" - "array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 961 - type.json: "type: array or object" - "object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 962 - type.json: "type: array or object" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not one of array, object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not one of array, object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 963 - type.json: "type: array or object" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not one of array, object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not one of array, object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 964 - type.json: "type: array or object" - "null is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not one of array, object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got null, not one of array, object", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 965 - type.json: "type: array, object or null" - "array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 966 - type.json: "type: array, object or null" - "object is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 967 - type.json: "type: array, object or null" - "null is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 968 - type.json: "type: array, object or null" - "number is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not one of array, object, null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not one of array, object, null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 969 - type.json: "type: array, object or null" - "string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not one of array, object, null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not one of array, object, null", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 970 - unevaluatedItems.json: "unevaluatedItems true" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 971 - unevaluatedItems.json: "unevaluatedItems true" - "with unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 972 - unevaluatedItems.json: "unevaluatedItems false" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 973 - unevaluatedItems.json: "unevaluatedItems false" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 974 - unevaluatedItems.json: "unevaluatedItems as schema" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 975 - unevaluatedItems.json: "unevaluatedItems as schema" - "with valid unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 976 - unevaluatedItems.json: "unevaluatedItems as schema" - "with invalid unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 977 - unevaluatedItems.json: "unevaluatedItems with uniform items" - "unevaluatedItems doesn't apply" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 978 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 979 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 980 - unevaluatedItems.json: "unevaluatedItems with items and additionalItems" - "unevaluatedItems doesn't apply" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 981 - unevaluatedItems.json: "unevaluatedItems with ignored additionalItems" - "invalid under unevaluatedItems" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 982 - unevaluatedItems.json: "unevaluatedItems with ignored additionalItems" - "all valid under unevaluatedItems" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 983 - unevaluatedItems.json: "unevaluatedItems with ignored applicator additionalItems" - "invalid under unevaluatedItems" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got integer, not string", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 984 - unevaluatedItems.json: "unevaluatedItems with ignored applicator additionalItems" - "all valid under unevaluatedItems" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 985 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 986 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 987 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with only (valid) additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 988 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with no additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 989 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with invalid additional item" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not boolean", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not boolean", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems/type" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 990 - unevaluatedItems.json: "unevaluatedItems with nested items and additionalItems" - "with no additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 991 - unevaluatedItems.json: "unevaluatedItems with nested items and additionalItems" - "with additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 992 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with no additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 993 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with additional items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 994 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 995 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 996 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 997 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/3", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/3", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 998 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 999 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1000 - unevaluatedItems.json: "unevaluatedItems with not" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1001 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1002 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/3", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/3", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1003 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1004 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/4", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/4", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1005 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1006 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1007 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1008 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1009 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1010 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1011 - unevaluatedItems.json: "unevaluatedItems with $recursiveRef" - "with no unevaluated items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1012 - unevaluatedItems.json: "unevaluatedItems with $recursiveRef" - "with unevaluated items" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/1/3", 484s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items", 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/1/3", 484s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "/1", 484s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items", 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/items" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1013 - unevaluatedItems.json: "unevaluatedItems can't see inside cousins" - "always fails" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/allOf/1/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/allOf/1/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1014 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "no extra items" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1015 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "uncle keyword evaluation is not significant" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/foo/1", 484s # "keywordLocation": "/properties/foo/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/unevaluatedItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/foo/1", 484s # "keywordLocation": "/properties/foo/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/unevaluatedItems" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1016 - unevaluatedItems.json: "non-array instances are valid" - "ignores booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1017 - unevaluatedItems.json: "non-array instances are valid" - "ignores integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1018 - unevaluatedItems.json: "non-array instances are valid" - "ignores floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1019 - unevaluatedItems.json: "non-array instances are valid" - "ignores objects" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1020 - unevaluatedItems.json: "non-array instances are valid" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1021 - unevaluatedItems.json: "non-array instances are valid" - "ignores null" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1022 - unevaluatedItems.json: "unevaluatedItems with null instance elements" - "allows null elements" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1023 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "valid in case if is evaluated" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1024 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "invalid in case if is evaluated" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/unevaluatedItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 1025 - unevaluatedProperties.json: "unevaluatedProperties true" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1026 - unevaluatedProperties.json: "unevaluatedProperties true" - "with unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1027 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1028 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with valid unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1029 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with invalid unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 3", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties/minLength" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 3", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties/minLength" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1030 - unevaluatedProperties.json: "unevaluatedProperties false" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1031 - unevaluatedProperties.json: "unevaluatedProperties false" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1032 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1033 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1034 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1035 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1036 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with no additional properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1037 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with additional properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1038 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with no additional properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1039 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with additional properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1040 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with no additional properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1041 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with additional properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1042 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with no additional properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1043 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with additional properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1044 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with no nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1045 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1046 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1047 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1048 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1049 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/quux", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/quux", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1050 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1051 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/quux", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/quux", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1052 - unevaluatedProperties.json: "unevaluatedProperties with not" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1053 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1054 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1055 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1056 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1057 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has no unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1058 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1059 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1060 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1061 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1062 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1063 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has no unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1064 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1065 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1066 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1067 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1068 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1069 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1070 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1071 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1072 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/baz", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1073 - unevaluatedProperties.json: "unevaluatedProperties with $recursiveRef" - "with no unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1074 - unevaluatedProperties.json: "unevaluatedProperties with $recursiveRef" - "with unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/branches/foo", 484s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/branches", 484s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/branches/foo", 484s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/branches", 484s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1075 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins" - "always fails" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1076 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins (reverse order)" - "always fails" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1077 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with no nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1078 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1079 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with no nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1080 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1081 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with no nested unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1082 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with nested unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1083 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with no nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1084 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with nested unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1085 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with no nested unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1086 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with nested unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1087 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with no nested unevaluated properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1088 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with nested unevaluated properties" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/1/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 1 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1089 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "no extra properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1090 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "uncle keyword evaluation is not significant" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo/faz", 484s # "keywordLocation": "/properties/foo/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo/faz", 484s # "keywordLocation": "/properties/foo/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/properties/foo/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1091 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "base case: both properties present" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1092 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, bar is missing" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1093 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, foo is missing" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "subschema 0 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1094 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "base case: both properties present" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1095 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, bar is missing" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1096 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, foo is missing" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1097 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Empty is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1098 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Single is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1099 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 1st level is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/y", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/y", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1100 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Nested is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1101 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 2nd level is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x/y", 484s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x/y", 484s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1102 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Deep nested is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1103 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 3rd level is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x/x/y", 484s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/x/x", 484s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/properties/x/$ref/properties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x/x/y", 484s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/unevaluatedProperties", 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "/x/x", 484s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/properties/x/$ref/properties" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1104 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "Empty is invalid (no x or y)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/required", 484s # "error": "object is missing property: x", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 484s # }, 484s # { 484s # "error": "object is missing property: y", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/required", 484s # "error": "object is missing property: x", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 484s # }, 484s # { 484s # "error": "object is missing property: y", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1105 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b are invalid (no x or y)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/required", 484s # "error": "object is missing property: x", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 484s # }, 484s # { 484s # "error": "object is missing property: y", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/required", 484s # "error": "object is missing property: x", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 484s # }, 484s # { 484s # "error": "object is missing property: y", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1106 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "x and y are invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/y", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/y", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1107 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and x are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1108 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and y are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1109 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1110 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and y are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1111 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x and y are invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/y", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf/2/oneOf" 484s # }, 484s # { 484s # "error": "subschema 2 is not valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/allOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/x", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/y", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1112 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "Empty is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 484s # "error": "object is missing property: c", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 484s # "error": "object is missing property: d", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 484s # "error": "object is missing property: b", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 484s # "error": "object is missing property: xx", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 484s # "error": "object is missing property: all", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 484s # "error": "object is missing property: c", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 484s # "error": "object is missing property: d", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 484s # "error": "object is missing property: b", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 484s # "error": "object is missing property: xx", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 484s # "error": "object is missing property: all", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1113 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1114 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1115 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1116 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "d is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1117 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + b is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1118 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + c is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1119 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + d is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1120 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + c is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/b", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/c", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/b", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/c", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1121 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + d is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/b", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/d", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/b", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/d", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1122 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c + d is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 484s # "error": "object is missing property: b", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 484s # "error": "object is missing property: xx", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 484s # "error": "object is missing property: all", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/c", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/d", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 484s # "error": "object is missing property: b", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 484s # "error": "object is missing property: xx", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 484s # "error": "object is missing property: all", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/c", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/d", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1123 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1124 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foox is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1125 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foo is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1126 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + a is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1127 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + b is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 1, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/b", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/xx", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 1, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/b", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/xx", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1128 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + c is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/c", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/xx", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/c", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/xx", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1129 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + d is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/d", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/xx", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 484s # "error": "multiple subschemas are valid: 0, 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/0/$ref/oneOf" 484s # }, 484s # { 484s # "error": "object is missing property: a", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf/1/required" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/d", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/xx", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1130 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1131 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + foo is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1132 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + a is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "multiple subschemas are valid: 0, 1", 484s # "instanceLocation": "", 484s # "keywordLocation": "/oneOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1133 - unevaluatedProperties.json: "non-object instances are valid" - "ignores booleans" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1134 - unevaluatedProperties.json: "non-object instances are valid" - "ignores integers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1135 - unevaluatedProperties.json: "non-object instances are valid" - "ignores floats" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1136 - unevaluatedProperties.json: "non-object instances are valid" - "ignores arrays" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1137 - unevaluatedProperties.json: "non-object instances are valid" - "ignores strings" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1138 - unevaluatedProperties.json: "non-object instances are valid" - "ignores null" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1139 - unevaluatedProperties.json: "unevaluatedProperties with null valued instance properties" - "allows null valued properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1140 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "allows only number properties" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1141 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "string property is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/a", 484s # "keywordLocation": "/unevaluatedProperties/type" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "/a", 484s # "keywordLocation": "/unevaluatedProperties/type" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1142 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "valid in case if is evaluated" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1143 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "invalid in case if is evaluated" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1144 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't consider dependentSchemas" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/foo", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1145 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't see bar when foo2 is absent" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/unevaluatedProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/unevaluatedProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1146 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties sees bar when foo2 is present" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 1147 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1148 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1149 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 2 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 2 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1150 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1151 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1152 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1153 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1154 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 2 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 2 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1155 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1156 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1157 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1158 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1159 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1160 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1161 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1162 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 2 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 2 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1163 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1164 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1165 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1166 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1167 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1168 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1169 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1170 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 4 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 4 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1171 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1172 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1173 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1174 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1175 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1176 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1177 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1178 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1179 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1180 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1181 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 2 and 3 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 2 and 3 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1182 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 2 and 3 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 2 and 3 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1183 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1184 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1185 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1186 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "items at indices 0 and 1 are not unique", 484s # "instanceLocation": "", 484s # "keywordLocation": "/uniqueItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1187 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/additionalItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/additionalItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1188 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1189 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1190 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1191 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1192 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1193 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1194 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1195 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1196 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1197 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1198 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1199 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1200 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1201 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1202 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1203 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1204 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1205 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1206 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1207 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1208 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1209 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1210 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1211 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1212 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1213 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1214 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1215 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/additionalItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional item not permitted", 484s # "instanceLocation": "/2", 484s # "keywordLocation": "/additionalItems" 484s # }, 484s # { 484s # "error": "subschema is not valid against all additional items", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 1216 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "applicator vocabulary still works" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 484s # "error": "property not permitted", 484s # "instanceLocation": "/badProperty", 484s # "keywordLocation": "/properties/badProperty" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 484s # "error": "property not permitted", 484s # "instanceLocation": "/badProperty", 484s # "keywordLocation": "/properties/badProperty" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/properties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1217 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: valid number" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1218 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: invalid number, but it still validates" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1219 - vocabulary.json: "ignore unrecognized optional vocabulary" - "string value" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not number", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1220 - vocabulary.json: "ignore unrecognized optional vocabulary" - "number value" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 1221 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "exact match to enum, and type matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1222 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "in implementations that strip $anchor, this may match either $def" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/enum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/enum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 484s # "error": "got object, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1223 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "match $ref to $anchor" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1224 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "no match on enum or $ref to $anchor" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/enum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/enum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 1225 - optional/bignum.json: "integer" - "a bignum is an integer" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1226 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1227 - optional/bignum.json: "number" - "a bignum is a number" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1228 - optional/bignum.json: "number" - "a negative bignum is a number" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1229 - optional/bignum.json: "string" - "a bignum is not a string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/type" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1230 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1231 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 484s # "instanceLocation": "", 484s # "keywordLocation": "/exclusiveMaximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 484s # "instanceLocation": "", 484s # "keywordLocation": "/exclusiveMaximum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1232 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1233 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 484s # "instanceLocation": "", 484s # "keywordLocation": "/exclusiveMinimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 484s # "instanceLocation": "", 484s # "keywordLocation": "/exclusiveMinimum" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 1234 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "first item not a string is invalid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/$ref/prefixItems/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems", 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/prefixItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems/0/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "/0", 484s # "keywordLocation": "/$ref/prefixItems/0/type" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems", 484s # "error": "not all items are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref/prefixItems" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1235 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "first item is a string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1236 - optional/cross-draft.json: "refs to historic drafts are processed as historic drafts" - "missing bar is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 1237 - optional/dependencies-compatibility.json: "single dependency" - "neither" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1238 - optional/dependencies-compatibility.json: "single dependency" - "nondependant" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1239 - optional/dependencies-compatibility.json: "single dependency" - "with dependency" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1240 - optional/dependencies-compatibility.json: "single dependency" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":2}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":[\"foo\"]}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1241 - optional/dependencies-compatibility.json: "single dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1242 - optional/dependencies-compatibility.json: "single dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1243 - optional/dependencies-compatibility.json: "single dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1244 - optional/dependencies-compatibility.json: "empty dependents" - "empty object" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1245 - optional/dependencies-compatibility.json: "empty dependents" - "object with one property" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1246 - optional/dependencies-compatibility.json: "empty dependents" - "non-object is valid" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1247 - optional/dependencies-compatibility.json: "multiple dependents required" - "neither" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1248 - optional/dependencies-compatibility.json: "multiple dependents required" - "nondependants" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1249 - optional/dependencies-compatibility.json: "multiple dependents required" - "with dependencies" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1250 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"foo\":1,\"quux\":2}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1251 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing other dependency" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":1,\"quux\":2}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1252 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing both dependencies" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"quux\":1}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1253 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1254 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1255 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF missing dependent" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"foo\":2,\"foo\\nbar\":1}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1256 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"foo\\\"bar\":2}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1257 - optional/dependencies-compatibility.json: "single schema dependency" - "valid" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1258 - optional/dependencies-compatibility.json: "single schema dependency" - "no dependency" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1259 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":2,\"foo\":\"quux\"}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1260 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type other" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":\"quux\",\"foo\":2}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1261 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type both" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":\"quux\",\"foo\":\"quux\"}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1262 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1263 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1264 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1265 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema true is valid" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1266 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema false is invalid" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":2}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1267 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with both properties is invalid" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"bar\":2,\"foo\":1}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1268 - optional/dependencies-compatibility.json: "boolean subschemas" - "empty object is valid" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1269 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s ok 1270 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"foo'bar\":{\"foo\\\"bar\":1}}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1271 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"a\":2,\"foo\\tbar\":1}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1272 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"foo'bar\":1}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s # 484s ok 1273 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1274 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1275 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1276 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1277 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1278 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1279 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1280 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1281 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "\"߀\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "\"߀\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s 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" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false # 484s 1..1 484s } 484s 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" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "\"߀\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s 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" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "\"߀\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s ok 1287 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true # 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "\"é\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s 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" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false # 484s 1..1 484s } 484s 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" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "\"é\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s ok 1291 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1292 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1293 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1294 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1295 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1296 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "\"\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s ok 1297 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1298 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1299 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1300 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1301 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1302 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1303 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1304 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1305 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1306 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "\"\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1308 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1309 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1310 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1311 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1312 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1313 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1314 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1315 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1316 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1317 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # 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.\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"\\\\wcole\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # 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.\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"\\\\wcole\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1320 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1321 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1322 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1323 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1324 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1325 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "\"৪২\"" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d+$\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1327 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1328 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1329 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1330 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1331 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1332 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1333 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/L'ÉCOLE", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/L'ÉCOLE", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1334 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"l'école\":\"pas de vraie vie\"}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"l'école\":\"pas de vraie vie\"}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1337 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/L'ÉCOLE", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/L'ÉCOLE", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1338 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/l'école", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/l'école", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1339 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/l'école", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/l'école", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1340 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1341 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1342 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/-%#", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/-%#", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s 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" 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected false; got true 484s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 484s # result: { 484s # "valid": true 484s # } 484s 1..1 484s } 484s ok 1344 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1345 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/-%#", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "additional property not permitted", 484s # "instanceLocation": "/-%#", 484s # "keywordLocation": "/additionalProperties" 484s # }, 484s # { 484s # "error": "not all additional properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/additionalProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1346 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 1347 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 1348 - optional/id.json: "$id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1349 - optional/id.json: "$id inside an enum is not a real identifier" - "match $ref to $id" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1350 - optional/id.json: "$id inside an enum is not a real identifier" - "no match on enum or $ref to $id" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/enum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/id/my_identifier.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 484s # "error": "value does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/enum" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/id/my_identifier.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 1351 - optional/no-schema.json: "validation without $schema" - "a 3-character string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1352 - optional/no-schema.json: "validation without $schema" - "a 1-character string is not valid" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "length is less than 2", 484s # "instanceLocation": "", 484s # "keywordLocation": "/minLength" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1353 - optional/no-schema.json: "validation without $schema" - "a non-string is valid" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s # 484s ok 1354 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1355 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1356 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1357 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1358 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1359 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1360 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "pattern does not match", 484s # "instanceLocation": "", 484s # "keywordLocation": "/pattern" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1361 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1362 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1363 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1364 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/🐲", 484s # "keywordLocation": "/patternProperties/^🐲*$/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/🐲", 484s # "keywordLocation": "/patternProperties/^🐲*$/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1365 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/🐲🐲", 484s # "keywordLocation": "/patternProperties/^🐲*$/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "got string, not integer", 484s # "instanceLocation": "/🐲🐲", 484s # "keywordLocation": "/patternProperties/^🐲*$/type" 484s # }, 484s # { 484s # "error": "not all properties are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/patternProperties" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s ok 1366 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "match" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "{\"bar\":3}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/unknown-keyword\"}},\"unknown-keyword\":{\"type\":\"integer\"}}" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s ok 1367 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "mismatch" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false # 484s 1..1 484s } 484s ok 1368 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "match" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "{\"bar\":3}" 484s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/properties/foo/unknown-keyword\"},\"foo\":{\"unknown-keyword\":{\"type\":\"integer\"}}}}" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s ok 1369 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "mismatch" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 484s # "instanceLocation": "/bar", 484s # "keywordLocation": "/properties/bar/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false # 484s 1..1 484s } 484s ok 1370 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "match" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "/base#/$ref", 484s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "/base#/$ref", 484s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s not ok 1 - evaluation result is incorrect # 484s # Failed test (with amnesty) 'evaluation result is incorrect' 484s # at t/zzz-acceptance-draft2019-09.t line 52. 484s # expected true; got false 484s # data: "\"a string\"" 484s # schema: "{\"$id\":\"/base\",\"$ref\":\"#/examples/0\",\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"examples\":[{\"type\":\"string\"}]}" 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "/base#/$ref", 484s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s 1..1 484s } 484s ok 1371 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "mismatch" { # TODO Test marked TODO via "todo_tests" 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "/base#/$ref", 484s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "/base#/$ref", 484s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 484s # "instanceLocation": "", 484s # "keywordLocation": "/$ref" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false # 484s 1..1 484s } 484s # 484s 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" { 484s # result: { 484s # "valid": true 484s # } 484s # short-circuited result: { 484s # "valid": true 484s # } 484s ok 1 - test passes: data is valid: true 484s 1..1 484s } 484s ok 1373 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 484s # "error": "got null, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/2/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 484s # "error": "got null, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/2/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s ok 1374 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 484s # result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/2/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s # short-circuited result: { 484s # "errors": [ 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/0/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 484s # "error": "subschema is valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/1/$ref/not" 484s # }, 484s # { 484s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 484s # "error": "got integer, not string", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf/2/$ref/type" 484s # }, 484s # { 484s # "error": "no subschemas are valid", 484s # "instanceLocation": "", 484s # "keywordLocation": "/anyOf" 484s # } 484s # ], 484s # "valid": false 484s # } 484s ok 1 - test passes: data is valid: false 484s 1..1 484s } 484s # 484s # 484s # generated with: Test::JSON::Schema::Acceptance 1.026 484s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 484s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 484s # specification version: draft2019-09 484s # optional tests included: yes 484s # skipping directory: optional/format 484s # 484s # filename pass todo-fail fail 484s # --------------------------------------------------------------- 484s # additionalItems.json 20 0 0 484s # additionalProperties.json 21 0 0 484s # allOf.json 30 0 0 484s # anchor.json 8 0 0 484s # anyOf.json 18 0 0 484s # boolean_schema.json 18 0 0 484s # const.json 50 0 0 484s # contains.json 21 0 0 484s # content.json 18 0 0 484s # default.json 7 0 0 484s # defs.json 2 0 0 484s # dependentRequired.json 20 0 0 484s # dependentSchemas.json 20 0 0 484s # enum.json 45 0 0 484s # exclusiveMaximum.json 4 0 0 484s # exclusiveMinimum.json 4 0 0 484s # format.json 114 0 0 484s # if-then-else.json 26 0 0 484s # infinite-loop-detection.json 2 0 0 484s # items.json 28 0 0 484s # maxContains.json 12 0 0 484s # maxItems.json 6 0 0 484s # maxLength.json 7 0 0 484s # maxProperties.json 10 0 0 484s # maximum.json 8 0 0 484s # minContains.json 28 0 0 484s # minItems.json 6 0 0 484s # minLength.json 7 0 0 484s # minProperties.json 8 0 0 484s # minimum.json 11 0 0 484s # multipleOf.json 10 0 0 484s # not.json 40 0 0 484s # oneOf.json 27 0 0 484s # pattern.json 9 0 0 484s # patternProperties.json 23 0 0 484s # properties.json 28 0 0 484s # propertyNames.json 13 0 0 484s # recursiveRef.json 34 0 0 484s # ref.json 79 0 0 484s # refRemote.json 31 0 0 484s # required.json 16 0 0 484s # type.json 80 0 0 484s # unevaluatedItems.json 55 0 0 484s # unevaluatedProperties.json 122 0 0 484s # uniqueItems.json 69 0 0 484s # vocabulary.json 5 0 0 484s # optional/anchor.json 4 0 0 484s # optional/bignum.json 9 0 0 484s # optional/cross-draft.json 3 0 0 484s # optional/dependencies-compatibility.json 22 14 0 484s # optional/ecmascript-regex.json 60 14 0 484s # optional/float-overflow.json 1 0 0 484s # optional/id.json 3 0 0 484s # optional/no-schema.json 3 0 0 484s # optional/non-bmp-regex.json 12 0 0 484s # optional/refOfUnknownKeyword.json 3 3 0 484s # optional/unknownKeyword.json 3 0 0 484s # --------------------------------------------------------------- 484s # TOTAL 1343 31 0 484s # 484s # Congratulations, all non-optional tests are passing! 484s # 484s ok 1375 - no leaks in the main evaluator object 484s ok 1376 - no leaks in the short-circuiting evaluator object 484s 1..1376 484s ok 486s t/zzz-acceptance-draft2020-12-format.t .. 486s # AUTHOR_TESTING: 486s # AUTOMATED_TESTING: 1 486s # EXTENDED_TESTING: 486s # NO_TODO: 486s # TEST_DIR: 486s # NO_SHORT_CIRCUIT: 486s # 486s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2020-12/optional/format against draft2020-12... 486s # 486s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date-time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 32 - date.json: "validation of date strings" - "a valid date string" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 64 - date.json: "validation of date strings" - "invalid month" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid date", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 73 - duration.json: "validation of duration strings" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 74 - duration.json: "validation of duration strings" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 75 - duration.json: "validation of duration strings" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 76 - duration.json: "validation of duration strings" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 77 - duration.json: "validation of duration strings" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 78 - duration.json: "validation of duration strings" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 79 - duration.json: "validation of duration strings" - "a valid duration string" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 80 - duration.json: "validation of duration strings" - "an invalid duration string" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 81 - duration.json: "validation of duration strings" - "no elements present" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 82 - duration.json: "validation of duration strings" - "no time elements present" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 83 - duration.json: "validation of duration strings" - "no date or time elements present" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 84 - duration.json: "validation of duration strings" - "elements out of order" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 85 - duration.json: "validation of duration strings" - "missing time separator" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 86 - duration.json: "validation of duration strings" - "time element in the date position" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 87 - duration.json: "validation of duration strings" - "four years duration" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 88 - duration.json: "validation of duration strings" - "zero time, in seconds" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 89 - duration.json: "validation of duration strings" - "zero time, in days" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 90 - duration.json: "validation of duration strings" - "one month duration" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 91 - duration.json: "validation of duration strings" - "one minute duration" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 92 - duration.json: "validation of duration strings" - "one and a half days, in hours" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 93 - duration.json: "validation of duration strings" - "one and a half days, in days and hours" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 94 - duration.json: "validation of duration strings" - "two weeks" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 95 - duration.json: "validation of duration strings" - "weeks cannot be combined with other units" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 96 - duration.json: "validation of duration strings" - "invalid non-ASCII '২' (a Bengali 2)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 97 - duration.json: "validation of duration strings" - "element without unit" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid duration", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 98 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 99 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 100 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 101 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 102 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 103 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 104 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 105 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 106 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 107 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 108 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 109 - email.json: "validation of e-mail addresses" - "a quoted string with a space in the local part is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 110 - email.json: "validation of e-mail addresses" - "a quoted string with a double dot in the local part is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 111 - email.json: "validation of e-mail addresses" - "a quoted string with a @ in the local part is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 112 - email.json: "validation of e-mail addresses" - "an IPv4-address-literal after the @ is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 113 - email.json: "validation of e-mail addresses" - "an IPv6-address-literal after the @ is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 114 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 115 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 116 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 117 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 118 - email.json: "validation of e-mail addresses" - "an invalid domain" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"joe.bloggs@invalid=domain.com\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"email\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s ok 119 - email.json: "validation of e-mail addresses" - "an invalid IPv4-address-literal" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"joe.bloggs@[127.0.0.300]\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"email\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s # 486s ok 120 - hostname.json: "validation of host names" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 121 - hostname.json: "validation of host names" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 122 - hostname.json: "validation of host names" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 123 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 124 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 125 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 126 - hostname.json: "validation of host names" - "a valid host name" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 127 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 128 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 129 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 130 - hostname.json: "validation of host names" - "a host name with a component too long" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 131 - hostname.json: "validation of host names" - "starts with hyphen" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 132 - hostname.json: "validation of host names" - "ends with hyphen" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 133 - hostname.json: "validation of host names" - "starts with underscore" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 134 - hostname.json: "validation of host names" - "ends with underscore" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 135 - hostname.json: "validation of host names" - "contains underscore" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 136 - hostname.json: "validation of host names" - "maximum label length" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 137 - hostname.json: "validation of host names" - "exceeds maximum label length" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 138 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"hostname\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 139 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"host-name\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 140 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"h0stn4me\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 141 - hostname.json: "validation of host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"1host\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 142 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"hostnam3\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s # 486s ok 143 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 144 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 145 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 146 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 147 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 148 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 149 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 150 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 151 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 152 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-email", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 153 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 154 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 155 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 156 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 157 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 158 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"실〮례.테스트\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 163 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 164 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 165 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 167 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 168 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 170 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 171 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 172 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"ßς་〇\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"Û½Û¾\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 177 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 178 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 179 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 180 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 181 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"l·l\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 182 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 183 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 184 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"α͵β\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 185 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 186 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 187 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"א׳ב\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 188 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 189 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 190 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"א״ב\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 192 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 193 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"・ぁ\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 194 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"・ァ\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 195 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"・丈\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"ب٠ب\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"Û°0\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 199 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 200 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false # 486s 1..1 486s } 486s ok 201 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"क्‍ष\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 202 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"क्‌ष\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s 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" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"بي‌بي\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 204 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"hostname\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 205 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"host-name\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 206 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"h0stn4me\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 207 - idn-hostname.json: "validation of internationalized host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"1host\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s ok 208 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected true; got false 486s # data: "\"hostnam3\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid idn-hostname", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s 1..1 486s } 486s # 486s ok 209 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 210 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 211 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 212 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 213 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 214 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 215 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 216 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 217 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 218 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 219 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 220 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 221 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 222 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 223 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 224 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv4", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 225 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 226 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 227 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 228 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 229 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 230 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 231 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 232 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 233 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 234 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 235 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 236 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 237 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 238 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 239 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 240 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 241 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 242 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 243 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 244 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 245 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 246 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 247 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 248 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 249 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 250 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 251 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 252 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 253 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 254 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 255 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 256 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 257 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 258 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 259 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 260 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 261 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 262 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 263 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 264 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid ipv6", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 265 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 266 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 267 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 268 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 269 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 270 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 271 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 272 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 273 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 274 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri-reference\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s ok 275 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 276 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 277 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"#ƒräg\\\\mênt\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri-reference\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s # 486s ok 278 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 279 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 280 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 281 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 282 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 283 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 284 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 285 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 286 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 287 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 288 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 289 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s ok 290 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid iri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid iri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 291 - iri.json: "validation of IRIs" - "an invalid IRI" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid iri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid iri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 292 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid iri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid iri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 297 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 298 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 299 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 300 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 301 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 302 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 303 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 304 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 305 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 306 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 307 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 308 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 309 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 310 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 311 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 312 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 313 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 314 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 315 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 316 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 317 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 318 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 319 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 320 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 321 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 322 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 323 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 324 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 325 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 326 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 327 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 328 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 329 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 330 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 331 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 332 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 333 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 334 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 335 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 336 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 337 - regex.json: "validation of regular expressions" - "a valid regular expression" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 338 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid regex", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid regex", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 339 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 340 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 341 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 342 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 343 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 344 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 345 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 346 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 347 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 348 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 349 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 350 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 351 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 352 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 353 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 354 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 355 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid relative-json-pointer", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 356 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s # 486s ok 357 - time.json: "validation of time strings" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 358 - time.json: "validation of time strings" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 359 - time.json: "validation of time strings" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 360 - time.json: "validation of time strings" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 361 - time.json: "validation of time strings" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 362 - time.json: "validation of time strings" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 363 - time.json: "validation of time strings" - "a valid time string" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 364 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 365 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 366 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 367 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 368 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 369 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 370 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 371 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 372 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 373 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 374 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 375 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 376 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 377 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 378 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 379 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 380 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 381 - time.json: "validation of time strings" - "a valid time string with second fraction" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 382 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 383 - time.json: "validation of time strings" - "a valid time string with plus offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 384 - time.json: "validation of time strings" - "a valid time string with minus offset" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 385 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 386 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 387 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 388 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 389 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 390 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 391 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 392 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 393 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 394 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 395 - time.json: "validation of time strings" - "an invalid offset indicator" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 396 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 397 - time.json: "validation of time strings" - "no time offset" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 398 - time.json: "validation of time strings" - "no time offset with second fraction" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 399 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 400 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 401 - time.json: "validation of time strings" - "contains letters" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid time", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 402 - unknown.json: "unknown format" - "unknown formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 403 - unknown.json: "unknown format" - "unknown formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 404 - unknown.json: "unknown format" - "unknown formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 405 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 406 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 407 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 408 - unknown.json: "unknown format" - "unknown formats ignore strings" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s # 486s ok 409 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 410 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 411 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 412 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 413 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 414 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 415 - uri-reference.json: "validation of URI References" - "a valid URI" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 416 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 417 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 418 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri-reference", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri-reference", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 419 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 420 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 421 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri-reference", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri-reference", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s # 486s ok 422 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 423 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 424 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 425 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 426 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 427 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 428 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 429 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"uri-template\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s ok 430 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s ok 431 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true # 486s 1..1 486s } 486s # 486s ok 432 - uri.json: "validation of URIs" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 433 - uri.json: "validation of URIs" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 434 - uri.json: "validation of URIs" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 435 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 436 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 437 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 438 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 439 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 440 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 441 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 442 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 443 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 444 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 445 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 446 - uri.json: "validation of URIs" - "a valid URL " { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 447 - uri.json: "validation of URIs" - "a valid mailto URI" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 448 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 449 - uri.json: "validation of URIs" - "a valid tel URI" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 450 - uri.json: "validation of URIs" - "a valid URN" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 451 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 452 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 453 - uri.json: "validation of URIs" - "an invalid URI" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 454 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 455 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 456 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uri", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 457 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s not ok 1 - evaluation result is incorrect # 486s # Failed test (with amnesty) 'evaluation result is incorrect' 486s # at t/zzz-acceptance-draft2020-12-format.t line 68. 486s # expected false; got true 486s # data: "\"bar,baz:foo\"" 486s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"uri\"}" 486s # result: { 486s # "valid": true 486s # } 486s 1..1 486s } 486s # 486s ok 458 - uuid.json: "uuid format" - "all string formats ignore integers" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 459 - uuid.json: "uuid format" - "all string formats ignore floats" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 460 - uuid.json: "uuid format" - "all string formats ignore objects" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 461 - uuid.json: "uuid format" - "all string formats ignore arrays" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 462 - uuid.json: "uuid format" - "all string formats ignore booleans" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 463 - uuid.json: "uuid format" - "all string formats ignore nulls" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 464 - uuid.json: "uuid format" - "all upper-case" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 465 - uuid.json: "uuid format" - "all lower-case" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 466 - uuid.json: "uuid format" - "mixed case" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 467 - uuid.json: "uuid format" - "all zeroes is valid" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 468 - uuid.json: "uuid format" - "wrong length" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 469 - uuid.json: "uuid format" - "missing section" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 470 - uuid.json: "uuid format" - "bad characters (not hex)" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 471 - uuid.json: "uuid format" - "no dashes" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 472 - uuid.json: "uuid format" - "too few dashes" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 473 - uuid.json: "uuid format" - "too many dashes" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 474 - uuid.json: "uuid format" - "dashes in the wrong spot" { 486s # result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s # short-circuited result: { 486s # "errors": [ 486s # { 486s # "error": "not a valid uuid", 486s # "instanceLocation": "", 486s # "keywordLocation": "/format" 486s # } 486s # ], 486s # "valid": false 486s # } 486s ok 1 - test passes: data is valid: false 486s 1..1 486s } 486s ok 475 - uuid.json: "uuid format" - "valid version 4" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 476 - uuid.json: "uuid format" - "valid version 5" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 477 - uuid.json: "uuid format" - "hypothetical version 6" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s ok 478 - uuid.json: "uuid format" - "hypothetical version 15" { 486s # result: { 486s # "valid": true 486s # } 486s # short-circuited result: { 486s # "valid": true 486s # } 486s ok 1 - test passes: data is valid: true 486s 1..1 486s } 486s # 486s # 486s # generated with: Test::JSON::Schema::Acceptance 1.026 486s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 486s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 486s # specification version: draft2020-12 486s # using custom test directory: /optional/format 486s # optional tests included: yes 486s # 486s # filename pass todo-fail fail 486s # --------------------------------------------------------------- 486s # date-time.json 25 0 0 486s # date.json 47 0 0 486s # duration.json 25 0 0 486s # email.json 20 2 0 486s # hostname.json 18 5 0 486s # idn-email.json 10 0 0 486s # idn-hostname.json 35 21 0 486s # ipv4.json 16 0 0 486s # ipv6.json 40 0 0 486s # iri-reference.json 11 2 0 486s # iri.json 14 1 0 486s # json-pointer.json 38 0 0 486s # regex.json 8 0 0 486s # relative-json-pointer.json 18 0 0 486s # time.json 45 0 0 486s # unknown.json 7 0 0 486s # uri-reference.json 13 0 0 486s # uri-template.json 9 1 0 486s # uri.json 25 1 0 486s # uuid.json 21 0 0 486s # --------------------------------------------------------------- 486s # TOTAL 445 33 0 486s # 486s # Congratulations, all non-optional tests are passing! 486s # 486s ok 479 - no leaks in the main evaluator object 486s ok 480 - no leaks in the short-circuiting evaluator object 486s 1..480 486s ok 499s t/zzz-acceptance-draft2020-12.t ......... 499s # AUTHOR_TESTING: 499s # AUTOMATED_TESTING: 1 499s # EXTENDED_TESTING: 499s # NO_TODO: 499s # TEST_DIR: 499s # NO_SHORT_CIRCUIT: 499s # 499s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 499s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2020-12 against draft2020-12... 499s # 499s ok 1 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 2 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 3 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 4 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 5 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 6 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 7 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 8 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/élmény", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/élmény", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 9 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 10 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 11 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 12 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 13 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 14 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 15 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 16 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 17 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against both keywords" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 18 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against propertyNames, but not additionalProperties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/pear", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/pear", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 19 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties doesn't consider dependentSchemas" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 20 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 21 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar even when foo2 is present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 22 - allOf.json: "allOf" - "allOf" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 23 - allOf.json: "allOf" - "mismatch second" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/required" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/required" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 24 - allOf.json: "allOf" - "mismatch first" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/required" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/required" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 25 - allOf.json: "allOf" - "wrong type" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/properties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/properties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 26 - allOf.json: "allOf with base schema" - "valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 27 - allOf.json: "allOf with base schema" - "mismatch base schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 28 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/required" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/required" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 29 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: baz", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/required" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: baz", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/required" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 30 - allOf.json: "allOf with base schema" - "mismatch both" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/required" 499s # }, 499s # { 499s # "error": "object is missing property: baz", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/required" 499s # }, 499s # { 499s # "error": "subschemas 0, 1 are not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/required" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 31 - allOf.json: "allOf simple types" - "valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 32 - allOf.json: "allOf simple types" - "mismatch one" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 30", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/maximum" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 30", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/maximum" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 33 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 34 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 35 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1" 499s # }, 499s # { 499s # "error": "subschemas 0, 1 are not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 36 - allOf.json: "allOf with one empty schema" - "any data is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 37 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 38 - allOf.json: "allOf with the first empty schema" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 39 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/type" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/type" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 40 - allOf.json: "allOf with the last empty schema" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 41 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/type" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/type" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 42 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 43 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/allOf/0/type" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/allOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/allOf/0/type" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/allOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 44 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 45 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 46 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 47 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 48 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 49 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 50 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/multipleOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 51 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 52 - anchor.json: "Location-independent identifier" - "match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 53 - anchor.json: "Location-independent identifier" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/A/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/A/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 54 - anchor.json: "Location-independent identifier with absolute URI" - "match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 55 - anchor.json: "Location-independent identifier with absolute URI" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/bar#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/bar#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 56 - anchor.json: "Location-independent identifier with base URI change in subschema" - "match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 57 - anchor.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested.json#/$defs/B/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested.json#/$defs/B/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 58 - anchor.json: "same $anchor with different base uri" - "$ref resolves to /$defs/A/allOf/1" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 59 - anchor.json: "same $anchor with different base uri" - "$ref does not resolve to /$defs/A/allOf/0" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/child1#/allOf/1/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/child1#/allOf/1/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 60 - anyOf.json: "anyOf" - "first anyOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 61 - anyOf.json: "anyOf" - "second anyOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 62 - anyOf.json: "anyOf" - "both anyOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 63 - anyOf.json: "anyOf" - "neither anyOf valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/type" 499s # }, 499s # { 499s # "error": "value is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/minimum" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/type" 499s # }, 499s # { 499s # "error": "value is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/minimum" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 64 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 65 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 66 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/maxLength" 499s # }, 499s # { 499s # "error": "length is less than 4", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/minLength" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/maxLength" 499s # }, 499s # { 499s # "error": "length is less than 4", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/minLength" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 67 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 68 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 69 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 70 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 71 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 72 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 73 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/anyOf/0/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/properties" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/anyOf/1/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/properties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/anyOf/0/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/properties" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/anyOf/1/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/properties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 74 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 75 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 76 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 77 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/anyOf/0/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/anyOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/anyOf/0/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/anyOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 78 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 79 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 80 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 81 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 82 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 83 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 84 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 85 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 86 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 87 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 88 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 89 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 90 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 91 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 92 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 93 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 94 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 95 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 96 - const.json: "const validation" - "same value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 97 - const.json: "const validation" - "another value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 98 - const.json: "const validation" - "another type is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 99 - const.json: "const with object" - "same object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 100 - const.json: "const with object" - "same object with different property order is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 101 - const.json: "const with object" - "another object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 102 - const.json: "const with object" - "another type is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 103 - const.json: "const with array" - "same array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 104 - const.json: "const with array" - "another array item is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs object)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs object)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 105 - const.json: "const with array" - "array with additional items is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 106 - const.json: "const with null" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 107 - const.json: "const with null" - "not null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 108 - const.json: "const with false does not match 0" - "false is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 109 - const.json: "const with false does not match 0" - "integer zero is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 110 - const.json: "const with false does not match 0" - "float zero is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 111 - const.json: "const with true does not match 1" - "true is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 112 - const.json: "const with true does not match 1" - "integer one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 113 - const.json: "const with true does not match 1" - "float one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 114 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 115 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 116 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 117 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 118 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 119 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 120 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 121 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 122 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 123 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 124 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 125 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 126 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 127 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 128 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 129 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 130 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 131 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 132 - const.json: "const with 1 does not match true" - "true is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 133 - const.json: "const with 1 does not match true" - "integer one is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 134 - const.json: "const with 1 does not match true" - "float one is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 135 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 136 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 137 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 138 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 139 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 140 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 141 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 142 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 143 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 144 - const.json: "nul characters in strings" - "match string with nul" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 145 - const.json: "nul characters in strings" - "do not match string lacking nul" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/const" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 146 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 147 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 148 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 149 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/minimum" 499s # }, 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/minimum" 499s # }, 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/contains/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/minimum" 499s # }, 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/minimum" 499s # }, 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/contains/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 150 - contains.json: "contains keyword validation" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 151 - contains.json: "contains keyword validation" - "not array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 152 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 153 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 154 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 155 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 156 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 157 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 158 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 159 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 160 - contains.json: "items + contains" - "matches items, does not match contains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 161 - contains.json: "items + contains" - "does not match items, matches contains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 162 - contains.json: "items + contains" - "matches both items and contains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 163 - contains.json: "items + contains" - "matches neither items nor contains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "value is not a multiple of 3", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 164 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 165 - contains.json: "contains with false if subschema" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 166 - contains.json: "contains with null instance elements" - "allows null items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 167 - content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 168 - content.json: "validation of string-encoded content based on media type" - "an invalid JSON document; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 169 - content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 170 - content.json: "validation of binary string-encoding" - "a valid base64 string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 171 - content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character); validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 172 - content.json: "validation of binary string-encoding" - "ignores non-strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 173 - content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 174 - content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 175 - content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 176 - content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 177 - content.json: "validation of binary-encoded media type documents with schema" - "a valid base64-encoded JSON document" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 178 - content.json: "validation of binary-encoded media type documents with schema" - "another valid base64-encoded JSON document" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 179 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64-encoded JSON document; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 180 - content.json: "validation of binary-encoded media type documents with schema" - "an empty object as a base64-encoded JSON document; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 181 - content.json: "validation of binary-encoded media type documents with schema" - "an empty array as a base64-encoded JSON document" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 182 - content.json: "validation of binary-encoded media type documents with schema" - "a validly-encoded invalid JSON document; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 183 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64 string that is valid JSON; validates true" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 184 - content.json: "validation of binary-encoded media type documents with schema" - "ignores non-strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 185 - default.json: "invalid type for default" - "valid when property is specified" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 186 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 187 - default.json: "invalid string value for default" - "valid when property is specified" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 188 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 3", 499s # "instanceLocation": "/alpha", 499s # "keywordLocation": "/properties/alpha/maximum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 3", 499s # "instanceLocation": "/alpha", 499s # "keywordLocation": "/properties/alpha/maximum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 192 - defs.json: "validate definition against metaschema" - "valid definition schema" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 193 - defs.json: "validate definition against metaschema" - "invalid definition schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/simpleTypes/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "/$defs/foo/type", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf/1/type", 499s # "error": "got integer, not array", 499s # "instanceLocation": "/$defs/foo/type", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/1/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "/$defs/foo/type", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/$defs/foo", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 499s # "error": "subschema 3 is not valid", 499s # "instanceLocation": "/$defs/foo", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/$defs", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/simpleTypes/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "/$defs/foo/type", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf/1/type", 499s # "error": "got integer, not array", 499s # "instanceLocation": "/$defs/foo/type", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/1/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "/$defs/foo/type", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/$defs/foo", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 499s # "error": "subschema 3 is not valid", 499s # "instanceLocation": "/$defs/foo", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/$defs", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 194 - dependentRequired.json: "single dependency" - "neither" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 195 - dependentRequired.json: "single dependency" - "nondependant" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 196 - dependentRequired.json: "single dependency" - "with dependency" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 197 - dependentRequired.json: "single dependency" - "missing dependency" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 198 - dependentRequired.json: "single dependency" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 199 - dependentRequired.json: "single dependency" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 200 - dependentRequired.json: "single dependency" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 201 - dependentRequired.json: "empty dependents" - "empty object" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 202 - dependentRequired.json: "empty dependents" - "object with one property" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 203 - dependentRequired.json: "empty dependents" - "non-object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 204 - dependentRequired.json: "multiple dependents required" - "neither" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 205 - dependentRequired.json: "multiple dependents required" - "nondependants" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 206 - dependentRequired.json: "multiple dependents required" - "with dependencies" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 207 - dependentRequired.json: "multiple dependents required" - "missing dependency" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/quux" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/quux" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 208 - dependentRequired.json: "multiple dependents required" - "missing other dependency" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/quux" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/quux" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 209 - dependentRequired.json: "multiple dependents required" - "missing both dependencies" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: foo, bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/quux" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: foo, bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/quux" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 210 - dependentRequired.json: "dependencies with escaped characters" - "CRLF" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 211 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 212 - dependentRequired.json: "dependencies with escaped characters" - "CRLF missing dependent" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo\rbar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/foo\nbar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo\rbar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/foo\nbar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 213 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo'bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/foo\"bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo'bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired/foo\"bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentRequired" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 214 - dependentSchemas.json: "single dependency" - "valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 215 - dependentSchemas.json: "single dependency" - "no dependency" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 216 - dependentSchemas.json: "single dependency" - "wrong type" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar/properties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar/properties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 217 - dependentSchemas.json: "single dependency" - "wrong type other" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar/properties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar/properties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 218 - dependentSchemas.json: "single dependency" - "wrong type both" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 499s # }, 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar/properties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar/properties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 219 - dependentSchemas.json: "single dependency" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 220 - dependentSchemas.json: "single dependency" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 221 - dependentSchemas.json: "single dependency" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 222 - dependentSchemas.json: "boolean subschemas" - "object with property having schema true is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 223 - dependentSchemas.json: "boolean subschemas" - "object with property having schema false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 224 - dependentSchemas.json: "boolean subschemas" - "object with both properties is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/bar" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 225 - dependentSchemas.json: "boolean subschemas" - "empty object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 226 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 227 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo\"bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo'bar/required" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo\"bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo'bar/required" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 228 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab invalid under dependent schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object has fewer than 4 properties", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object has fewer than 4 properties", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 229 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote invalid under dependent schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo\"bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo'bar/required" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo\"bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo'bar/required" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 230 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches root" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 231 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches dependency" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 232 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches both" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 499s # }, 499s # { 499s # "error": "not all dependencies are satisfied", 499s # "instanceLocation": "", 499s # "keywordLocation": "/dependentSchemas" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 233 - dependentSchemas.json: "dependent subschema incompatible with root" - "no dependency" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/list#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/list#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 242 - dynamicRef.json: "A $dynamicRef without anchor in fragment behaves identical to $ref" - "An array of strings is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 243 - dynamicRef.json: "A $dynamicRef without anchor in fragment behaves identical to $ref" - "An array of numbers is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/$ref/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/list#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/$defs/foo/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/$ref/$ref/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/list#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 246 - dynamicRef.json: "An $anchor with the same name as a $dynamicAnchor is not used for dynamic scope resolution" - "Any array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties/foo/const", 499s # "error": "value does not match", 499s # "instanceLocation": "/bar/baz/foo", 499s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties/foo/const" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar/baz", 499s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/bar#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/properties/bar/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/extended#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties/foo/const", 499s # "error": "value does not match", 499s # "instanceLocation": "/bar/baz/foo", 499s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties/foo/const" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar/baz", 499s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/bar#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/properties/bar/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/extended#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 252 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "number list with number values" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 253 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "number list with string values" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/numberList#/$defs/itemType/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/then/$ref/$ref/properties/list/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/then/$ref/$ref/properties/list/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/$ref/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/then", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/numberList#/$defs/itemType/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/then/$ref/$ref/properties/list/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/then/$ref/$ref/properties/list/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/$ref/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/then", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 254 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "string list with number values" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/stringList#/$defs/itemType/type", 499s # "error": "got number, not string", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/else/$ref/$ref/properties/list/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/else/$ref/$ref/properties/list/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/$ref/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/else", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/stringList#/$defs/itemType/type", 499s # "error": "got number, not string", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/else/$ref/$ref/properties/list/items/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/else/$ref/$ref/properties/list/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/$ref/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/else", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 255 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "string list with string values" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 499s # "error": "got string, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/$ref/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 499s # "error": "got string, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/$ref/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/$ref/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/$ref/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 259 - dynamicRef.json: "strict-tree schema, guards against misspelled properties" - "instance with misspelled field" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/children/0/daat", 499s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/children/0", 499s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties/children/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/children", 499s # "keywordLocation": "/$ref/properties/children/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/children", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/children/0/daat", 499s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/children/0", 499s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties/children/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/children", 499s # "keywordLocation": "/$ref/properties/children/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/children", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 260 - dynamicRef.json: "strict-tree schema, guards against misspelled properties" - "instance with correct field" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 261 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "incorrect parent schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 499s # "error": "object is missing property: elements", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 499s # "error": "object is missing property: elements", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 262 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "incorrect extended schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/required", 499s # "error": "object is missing property: a", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/elements/0/b", 499s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/elements", 499s # "keywordLocation": "/$ref/properties/elements/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/required", 499s # "error": "object is missing property: a", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/elements", 499s # "keywordLocation": "/$ref/properties/elements/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 263 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "correct extended schema" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 264 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "incorrect parent schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 499s # "error": "object is missing property: elements", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/allOf/0/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 499s # "error": "object is missing property: elements", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 265 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "incorrect extended schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/required", 499s # "error": "object is missing property: a", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/elements/0/b", 499s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/elements", 499s # "keywordLocation": "/allOf/0/$ref/properties/elements/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/required", 499s # "error": "object is missing property: a", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/elements", 499s # "keywordLocation": "/allOf/0/$ref/properties/elements/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 266 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "correct extended schema" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 267 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "incorrect parent schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 499s # "error": "object is missing property: elements", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/allOf/1/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 499s # "error": "object is missing property: elements", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 268 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "incorrect extended schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/required", 499s # "error": "object is missing property: a", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/elements/0/b", 499s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/elements", 499s # "keywordLocation": "/allOf/1/$ref/properties/elements/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/required", 499s # "error": "object is missing property: a", 499s # "instanceLocation": "/elements/0", 499s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/elements", 499s # "keywordLocation": "/allOf/1/$ref/properties/elements/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 269 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "correct extended schema" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 270 - dynamicRef.json: "$ref to $dynamicRef finds detached $dynamicAnchor" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 271 - dynamicRef.json: "$ref to $dynamicRef finds detached $dynamicAnchor" - "non-number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-dynamicref.json#/$defs/detached/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$dynamicRef/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-dynamicref.json#/$defs/detached/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$dynamicRef/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 272 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a true schema" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 273 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a false schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/false", 499s # "error": "subschema is false", 499s # "instanceLocation": "/false", 499s # "keywordLocation": "/properties/false/$dynamicRef" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/false", 499s # "error": "subschema is false", 499s # "instanceLocation": "/false", 499s # "keywordLocation": "/properties/false/$dynamicRef" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 274 - dynamicRef.json: "$dynamicRef skips over intermediate resources - direct reference" - "integer property passes" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 275 - dynamicRef.json: "$dynamicRef skips over intermediate resources - direct reference" - "string property fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/$defs/defaultContent/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar-item/content", 499s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar-item", 499s # "keywordLocation": "/properties/bar-item/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/$defs/defaultContent/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar-item/content", 499s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar-item", 499s # "keywordLocation": "/properties/bar-item/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 276 - enum.json: "simple enum validation" - "one of the enum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 277 - enum.json: "simple enum validation" - "something else is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 278 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 279 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 280 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 499s # result: { 499s # "errors": [ 499s # { 499s # "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)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "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)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 281 - enum.json: "heterogeneous enum validation" - "valid object matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 282 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 283 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 284 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 285 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 286 - enum.json: "enums in properties" - "both properties are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 287 - enum.json: "enums in properties" - "wrong foo value" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/enum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/enum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 288 - enum.json: "enums in properties" - "wrong bar value" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/enum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/enum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 289 - enum.json: "enums in properties" - "missing optional property is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 290 - enum.json: "enums in properties" - "missing required property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 291 - enum.json: "enums in properties" - "missing all properties is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 292 - enum.json: "enum with escaped characters" - "member 1 is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 293 - enum.json: "enum with escaped characters" - "member 2 is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 294 - enum.json: "enum with escaped characters" - "another string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 295 - enum.json: "enum with false does not match 0" - "false is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 296 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 297 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 298 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 299 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 300 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 301 - enum.json: "enum with true does not match 1" - "true is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 302 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 303 - enum.json: "enum with true does not match 1" - "float one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 304 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 305 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 306 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 307 - enum.json: "enum with 0 does not match false" - "false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 308 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 309 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 310 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 311 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 312 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 313 - enum.json: "enum with 1 does not match true" - "true is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 314 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 315 - enum.json: "enum with 1 does not match true" - "float one is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 316 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 317 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 318 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 319 - enum.json: "nul characters in strings" - "match string with nul" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 320 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 321 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 322 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than or equal to 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMaximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than or equal to 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMaximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 323 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than or equal to 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMaximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than or equal to 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMaximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 324 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 325 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 326 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than or equal to 1.1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMinimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than or equal to 1.1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMinimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 327 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than or equal to 1.1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMinimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than or equal to 1.1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMinimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 328 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 329 - format.json: "email format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 330 - format.json: "email format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 331 - format.json: "email format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 332 - format.json: "email format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 333 - format.json: "email format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 334 - format.json: "email format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 335 - format.json: "email format" - "invalid email string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 336 - format.json: "idn-email format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 337 - format.json: "idn-email format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 338 - format.json: "idn-email format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 339 - format.json: "idn-email format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 340 - format.json: "idn-email format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 341 - format.json: "idn-email format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 342 - format.json: "idn-email format" - "invalid idn-email string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 343 - format.json: "regex format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 344 - format.json: "regex format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 345 - format.json: "regex format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 346 - format.json: "regex format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 347 - format.json: "regex format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 348 - format.json: "regex format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 349 - format.json: "regex format" - "invalid regex string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 350 - format.json: "ipv4 format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 351 - format.json: "ipv4 format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 352 - format.json: "ipv4 format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 353 - format.json: "ipv4 format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 354 - format.json: "ipv4 format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 355 - format.json: "ipv4 format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 356 - format.json: "ipv4 format" - "invalid ipv4 string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 357 - format.json: "ipv6 format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 358 - format.json: "ipv6 format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 359 - format.json: "ipv6 format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 360 - format.json: "ipv6 format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 361 - format.json: "ipv6 format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 362 - format.json: "ipv6 format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 363 - format.json: "ipv6 format" - "invalid ipv6 string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 364 - format.json: "idn-hostname format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 365 - format.json: "idn-hostname format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 366 - format.json: "idn-hostname format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 367 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 368 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 369 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 370 - format.json: "idn-hostname format" - "invalid idn-hostname string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 371 - format.json: "hostname format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 372 - format.json: "hostname format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 373 - format.json: "hostname format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 374 - format.json: "hostname format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 375 - format.json: "hostname format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 376 - format.json: "hostname format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 377 - format.json: "hostname format" - "invalid hostname string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 378 - format.json: "date format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 379 - format.json: "date format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 380 - format.json: "date format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 381 - format.json: "date format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 382 - format.json: "date format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 383 - format.json: "date format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 384 - format.json: "date format" - "invalid date string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 385 - format.json: "date-time format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 386 - format.json: "date-time format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 387 - format.json: "date-time format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 388 - format.json: "date-time format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 389 - format.json: "date-time format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 390 - format.json: "date-time format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 391 - format.json: "date-time format" - "invalid date-time string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 392 - format.json: "time format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 393 - format.json: "time format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 394 - format.json: "time format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 395 - format.json: "time format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 396 - format.json: "time format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 397 - format.json: "time format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 398 - format.json: "time format" - "invalid time string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 399 - format.json: "json-pointer format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 400 - format.json: "json-pointer format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 401 - format.json: "json-pointer format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 402 - format.json: "json-pointer format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 403 - format.json: "json-pointer format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 404 - format.json: "json-pointer format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 405 - format.json: "json-pointer format" - "invalid json-pointer string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 406 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 407 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 408 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 409 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 410 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 411 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 412 - format.json: "relative-json-pointer format" - "invalid relative-json-pointer string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 413 - format.json: "iri format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 414 - format.json: "iri format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 415 - format.json: "iri format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 416 - format.json: "iri format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 417 - format.json: "iri format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 418 - format.json: "iri format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 419 - format.json: "iri format" - "invalid iri string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 420 - format.json: "iri-reference format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 421 - format.json: "iri-reference format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 422 - format.json: "iri-reference format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 423 - format.json: "iri-reference format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 424 - format.json: "iri-reference format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 425 - format.json: "iri-reference format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 426 - format.json: "iri-reference format" - "invalid iri-reference string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 427 - format.json: "uri format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 428 - format.json: "uri format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 429 - format.json: "uri format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 430 - format.json: "uri format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 431 - format.json: "uri format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 432 - format.json: "uri format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 433 - format.json: "uri format" - "invalid uri string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 434 - format.json: "uri-reference format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 435 - format.json: "uri-reference format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 436 - format.json: "uri-reference format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 437 - format.json: "uri-reference format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 438 - format.json: "uri-reference format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 439 - format.json: "uri-reference format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 440 - format.json: "uri-reference format" - "invalid uri-reference string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 441 - format.json: "uri-template format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 442 - format.json: "uri-template format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 443 - format.json: "uri-template format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 444 - format.json: "uri-template format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 445 - format.json: "uri-template format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 446 - format.json: "uri-template format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 447 - format.json: "uri-template format" - "invalid uri-template string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 448 - format.json: "uuid format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 449 - format.json: "uuid format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 450 - format.json: "uuid format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 451 - format.json: "uuid format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 452 - format.json: "uuid format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 453 - format.json: "uuid format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 454 - format.json: "uuid format" - "invalid uuid string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 455 - format.json: "duration format" - "all string formats ignore integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 456 - format.json: "duration format" - "all string formats ignore floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 457 - format.json: "duration format" - "all string formats ignore objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 458 - format.json: "duration format" - "all string formats ignore arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 459 - format.json: "duration format" - "all string formats ignore booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 460 - format.json: "duration format" - "all string formats ignore nulls" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 461 - format.json: "duration format" - "invalid duration string is only an annotation by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 462 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 463 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 464 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 465 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 466 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 467 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 468 - if-then-else.json: "if and then without else" - "valid through then" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 469 - if-then-else.json: "if and then without else" - "invalid through then" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 470 - if-then-else.json: "if and then without else" - "valid when if test fails" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 471 - if-then-else.json: "if and else without then" - "valid when if test passes" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 472 - if-then-else.json: "if and else without then" - "valid through else" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 473 - if-then-else.json: "if and else without then" - "invalid through else" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 474 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 475 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 476 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 477 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 478 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 479 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 480 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 481 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 482 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 483 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 484 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 485 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 486 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/then" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 487 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else/const" 499s # }, 499s # { 499s # "error": "subschema is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/else" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/int/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/int/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/additionalProperties" 499s # }, 499s # { 499s # "error": "subschemas 0, 1 are not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/int/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/properties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 490 - items.json: "a schema given for items" - "valid items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 491 - items.json: "a schema given for items" - "wrong type of items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 492 - items.json: "a schema given for items" - "ignores non-arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 493 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 494 - items.json: "items with boolean schema (true)" - "any array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 495 - items.json: "items with boolean schema (true)" - "empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 496 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 497 - items.json: "items with boolean schema (false)" - "empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 498 - items.json: "items and subitems" - "valid items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 499 - items.json: "items and subitems" - "too many items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 500 - items.json: "items and subitems" - "too many sub-items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/items", 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0/2", 499s # "keywordLocation": "/prefixItems/0/$ref/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/$ref/items" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/items", 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0/2", 499s # "keywordLocation": "/prefixItems/0/$ref/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/$ref/items" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 501 - items.json: "items and subitems" - "wrong item" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/type", 499s # "error": "got object, not array", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/$ref/type" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/type", 499s # "error": "got object, not array", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/$ref/type" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 502 - items.json: "items and subitems" - "wrong sub-item" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/prefixItems/0/$ref/prefixItems/0/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/prefixItems", 499s # "error": "not all items are valid", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/$ref/prefixItems" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/prefixItems/0/$ref/prefixItems/0/$ref/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/item/prefixItems", 499s # "error": "not all items are valid", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/$ref/prefixItems" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 503 - items.json: "items and subitems" - "fewer items is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 504 - items.json: "nested items" - "valid nested array" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 505 - items.json: "nested items" - "nested array with invalid type" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/0/0/0/0", 499s # "keywordLocation": "/items/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/0/0", 499s # "keywordLocation": "/items/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/0/0/0/0", 499s # "keywordLocation": "/items/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/0/0", 499s # "keywordLocation": "/items/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 506 - items.json: "nested items" - "not deep enough" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/0/0/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/0/1/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/1", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/0/2/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/2", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/1/0/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/1/0", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/1/1/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/1/1", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/1/2/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/1/2", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "/0/0/0", 499s # "keywordLocation": "/items/items/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/items/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 507 - items.json: "prefixItems with no additional items allowed" - "empty array" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 508 - items.json: "prefixItems with no additional items allowed" - "fewer number of items present (1)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 509 - items.json: "prefixItems with no additional items allowed" - "fewer number of items present (2)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 510 - items.json: "prefixItems with no additional items allowed" - "equal number of items present" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 511 - items.json: "prefixItems with no additional items allowed" - "additional items are not permitted" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 512 - items.json: "items does not look in applicators, valid case" - "prefixItems in allOf does not constrain items, invalid case" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than 5", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/minimum" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 513 - items.json: "items does not look in applicators, valid case" - "prefixItems in allOf does not constrain items, valid case" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 514 - items.json: "prefixItems validation adjusts the starting index for items" - "valid items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 515 - items.json: "prefixItems validation adjusts the starting index for items" - "wrong type of second item" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 516 - items.json: "items with heterogeneous array" - "heterogeneous invalid instance" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 517 - items.json: "items with heterogeneous array" - "valid instance" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 518 - items.json: "items with null instance elements" - "allows null elements" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 519 - maxContains.json: "maxContains without contains is ignored" - "one item valid against lone maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 520 - maxContains.json: "maxContains without contains is ignored" - "two items still valid against lone maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 521 - maxContains.json: "maxContains with contains" - "empty data" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 522 - maxContains.json: "maxContains with contains" - "all elements match, valid maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 523 - maxContains.json: "maxContains with contains" - "all elements match, invalid maxContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 524 - maxContains.json: "maxContains with contains" - "some elements match, valid maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 525 - maxContains.json: "maxContains with contains" - "some elements match, invalid maxContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 526 - maxContains.json: "maxContains with contains, value with a decimal" - "one element matches, valid maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 527 - maxContains.json: "maxContains with contains, value with a decimal" - "too many elements match, invalid maxContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 528 - maxContains.json: "minContains < maxContains" - "actual < minContains < maxContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "array contains fewer than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 529 - maxContains.json: "minContains < maxContains" - "minContains < actual < maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 530 - maxContains.json: "minContains < maxContains" - "minContains < maxContains < actual" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 3 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 3 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 531 - maxItems.json: "maxItems validation" - "shorter is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 532 - maxItems.json: "maxItems validation" - "exact length is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 533 - maxItems.json: "maxItems validation" - "too long is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 2 items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 2 items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 534 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 535 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 536 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 2 items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 2 items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 537 - maxLength.json: "maxLength validation" - "shorter is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 538 - maxLength.json: "maxLength validation" - "exact length is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 539 - maxLength.json: "maxLength validation" - "too long is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 540 - maxLength.json: "maxLength validation" - "ignores non-strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 541 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 542 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 543 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 544 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 545 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 546 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object has more than 2 properties", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object has more than 2 properties", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 547 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 548 - maxProperties.json: "maxProperties validation" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 549 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 550 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 551 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object has more than 2 properties", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object has more than 2 properties", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 552 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 553 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object has more than 0 property", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object has more than 0 property", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 554 - maximum.json: "maximum validation" - "below the maximum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 555 - maximum.json: "maximum validation" - "boundary point is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 556 - maximum.json: "maximum validation" - "above the maximum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 3", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 557 - maximum.json: "maximum validation" - "ignores non-numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 558 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 559 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 560 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 561 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 300", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 300", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 562 - minContains.json: "minContains without contains is ignored" - "one item valid against lone minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 563 - minContains.json: "minContains without contains is ignored" - "zero items still valid against lone minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 564 - minContains.json: "minContains=1 with contains" - "empty data" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "array contains fewer than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 565 - minContains.json: "minContains=1 with contains" - "no elements match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "array contains fewer than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/const" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 566 - minContains.json: "minContains=1 with contains" - "single element matches, valid minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 567 - minContains.json: "minContains=1 with contains" - "some elements match, valid minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 568 - minContains.json: "minContains=1 with contains" - "all elements match, valid minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 569 - minContains.json: "minContains=2 with contains" - "empty data" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 570 - minContains.json: "minContains=2 with contains" - "all elements match, invalid minContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 571 - minContains.json: "minContains=2 with contains" - "some elements match, invalid minContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 572 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (exactly as needed)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 573 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (more than needed)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 574 - minContains.json: "minContains=2 with contains" - "some elements match, valid minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 575 - minContains.json: "minContains=2 with contains with a decimal value" - "one element matches, invalid minContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 576 - minContains.json: "minContains=2 with contains with a decimal value" - "both elements match, valid minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 577 - minContains.json: "maxContains = minContains" - "empty data" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 578 - minContains.json: "maxContains = minContains" - "all elements match, invalid minContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 579 - minContains.json: "maxContains = minContains" - "all elements match, invalid maxContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 2 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 580 - minContains.json: "maxContains = minContains" - "all elements match, valid maxContains and minContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 581 - minContains.json: "maxContains < minContains" - "empty data" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "array contains fewer than 3 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 582 - minContains.json: "maxContains < minContains" - "invalid minContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 3 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains fewer than 3 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 583 - minContains.json: "maxContains < minContains" - "invalid maxContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 584 - minContains.json: "maxContains < minContains" - "invalid maxContains and minContains" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # }, 499s # { 499s # "error": "array contains fewer than 3 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 585 - minContains.json: "minContains = 0" - "empty data" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 586 - minContains.json: "minContains = 0" - "minContains = 0 makes contains always pass" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 587 - minContains.json: "minContains = 0 with maxContains" - "empty data" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 588 - minContains.json: "minContains = 0 with maxContains" - "not more than maxContains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 589 - minContains.json: "minContains = 0 with maxContains" - "too many" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array contains more than 1 matching items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/maxContains" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 590 - minItems.json: "minItems validation" - "longer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 591 - minItems.json: "minItems validation" - "exact length is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 592 - minItems.json: "minItems validation" - "too short is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 1 item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 1 item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 593 - minItems.json: "minItems validation" - "ignores non-arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 594 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 595 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 1 item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 1 item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 596 - minLength.json: "minLength validation" - "longer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 597 - minLength.json: "minLength validation" - "exact length is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 598 - minLength.json: "minLength validation" - "too short is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 599 - minLength.json: "minLength validation" - "ignores non-strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 600 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 601 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 602 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 603 - minProperties.json: "minProperties validation" - "longer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 604 - minProperties.json: "minProperties validation" - "exact length is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 605 - minProperties.json: "minProperties validation" - "too short is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object has fewer than 1 property", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object has fewer than 1 property", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 606 - minProperties.json: "minProperties validation" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 607 - minProperties.json: "minProperties validation" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 608 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 609 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 610 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object has fewer than 1 property", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object has fewer than 1 property", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 611 - minimum.json: "minimum validation" - "above the minimum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 612 - minimum.json: "minimum validation" - "boundary point is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 613 - minimum.json: "minimum validation" - "below the minimum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than 1.1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than 1.1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 614 - minimum.json: "minimum validation" - "ignores non-numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 615 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 616 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 617 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 618 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 619 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 620 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than -2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 621 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 622 - multipleOf.json: "by int" - "int by int" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 623 - multipleOf.json: "by int" - "int by int fail" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 624 - multipleOf.json: "by int" - "ignores non-numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 625 - multipleOf.json: "by number" - "zero is multiple of anything" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 626 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 627 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 1.5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 1.5", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 628 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 629 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 0.0001", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 0.0001", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 630 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 0.123456789", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 0.123456789", 499s # "instanceLocation": "", 499s # "keywordLocation": "/multipleOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 631 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 632 - not.json: "not" - "allowed" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 633 - not.json: "not" - "disallowed" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 634 - not.json: "not multiple types" - "valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 635 - not.json: "not multiple types" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 636 - not.json: "not multiple types" - "other mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 637 - not.json: "not more complex schema" - "match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 638 - not.json: "not more complex schema" - "other match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 639 - not.json: "not more complex schema" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 640 - not.json: "forbidden property" - "property present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/not" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/not" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 641 - not.json: "forbidden property" - "property absent" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 642 - not.json: "forbid everything with empty schema" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 643 - not.json: "forbid everything with empty schema" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 644 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 645 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 646 - not.json: "forbid everything with empty schema" - "null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 647 - not.json: "forbid everything with empty schema" - "object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 648 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 649 - not.json: "forbid everything with empty schema" - "array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 650 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 651 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 652 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 653 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 654 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 655 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 656 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 657 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 658 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 659 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 660 - not.json: "allow everything with boolean schema false" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 661 - not.json: "allow everything with boolean schema false" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 662 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 663 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 664 - not.json: "allow everything with boolean schema false" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 665 - not.json: "allow everything with boolean schema false" - "object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 666 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 667 - not.json: "allow everything with boolean schema false" - "array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 668 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 669 - not.json: "double negation" - "any value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 670 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 671 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/not" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 672 - oneOf.json: "oneOf" - "first oneOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 673 - oneOf.json: "oneOf" - "second oneOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 674 - oneOf.json: "oneOf" - "both oneOf valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 675 - oneOf.json: "oneOf" - "neither oneOf valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/type" 499s # }, 499s # { 499s # "error": "value is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/minimum" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/type" 499s # }, 499s # { 499s # "error": "value is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/minimum" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 676 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # }, 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 677 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 678 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 679 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 680 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 681 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 682 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/2" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1" 499s # }, 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/2" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 683 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 684 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 685 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 686 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/oneOf/0/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/properties" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/oneOf/1/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/properties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/oneOf/0/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/properties" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/oneOf/1/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/properties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 687 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 688 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 689 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/required" 499s # }, 499s # { 499s # "error": "object is missing properties: foo, baz", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/required" 499s # }, 499s # { 499s # "error": "object is missing properties: foo, baz", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 690 - oneOf.json: "oneOf with required" - "first valid - valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 691 - oneOf.json: "oneOf with required" - "second valid - valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 692 - oneOf.json: "oneOf with required" - "both valid - invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 693 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 694 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 695 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 696 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/required" 499s # }, 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: bar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/required" 499s # }, 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 697 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 698 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/oneOf/0/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/oneOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/oneOf/0/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/oneOf" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 699 - pattern.json: "pattern validation" - "a matching pattern is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 700 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 701 - pattern.json: "pattern validation" - "ignores booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 702 - pattern.json: "pattern validation" - "ignores integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 703 - pattern.json: "pattern validation" - "ignores floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 704 - pattern.json: "pattern validation" - "ignores objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 705 - pattern.json: "pattern validation" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 706 - pattern.json: "pattern validation" - "ignores null" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 707 - pattern.json: "pattern is not anchored" - "matches a substring" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 708 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 709 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 710 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/patternProperties/f.*o/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/patternProperties/f.*o/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 711 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/patternProperties/f.*o/type" 499s # }, 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foooooo", 499s # "keywordLocation": "/patternProperties/f.*o/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/patternProperties/f.*o/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 712 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 713 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 714 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 715 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 716 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 717 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 718 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/patternProperties/a*/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/patternProperties/a*/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 719 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 20", 499s # "instanceLocation": "/aaaa", 499s # "keywordLocation": "/patternProperties/aaa*/maximum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than 20", 499s # "instanceLocation": "/aaaa", 499s # "keywordLocation": "/patternProperties/aaa*/maximum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 720 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/aaa", 499s # "keywordLocation": "/patternProperties/a*/type" 499s # }, 499s # { 499s # "error": "value is greater than 20", 499s # "instanceLocation": "/aaaa", 499s # "keywordLocation": "/patternProperties/aaa*/maximum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/aaa", 499s # "keywordLocation": "/patternProperties/a*/type" 499s # }, 499s # { 499s # "error": "value is greater than 20", 499s # "instanceLocation": "/aaaa", 499s # "keywordLocation": "/patternProperties/aaa*/maximum" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 721 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 722 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not boolean", 499s # "instanceLocation": "/a31b", 499s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not boolean", 499s # "instanceLocation": "/a31b", 499s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 723 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 724 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/a_X_3", 499s # "keywordLocation": "/patternProperties/X_/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/a_X_3", 499s # "keywordLocation": "/patternProperties/X_/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 725 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 726 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/patternProperties/b.*" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/patternProperties/b.*" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 727 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/patternProperties/b.*" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/patternProperties/b.*" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 728 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/foobar", 499s # "keywordLocation": "/patternProperties/b.*" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/foobar", 499s # "keywordLocation": "/patternProperties/b.*" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 729 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 730 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 731 - prefixItems.json: "a schema given for prefixItems" - "correct types" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 732 - prefixItems.json: "a schema given for prefixItems" - "wrong types" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/type" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/prefixItems/1/type" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/prefixItems/0/type" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 733 - prefixItems.json: "a schema given for prefixItems" - "incomplete array of items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 734 - prefixItems.json: "a schema given for prefixItems" - "array with additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 735 - prefixItems.json: "a schema given for prefixItems" - "empty array" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 736 - prefixItems.json: "a schema given for prefixItems" - "JavaScript pseudo-array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 737 - prefixItems.json: "prefixItems with boolean schemas" - "array with one item is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 738 - prefixItems.json: "prefixItems with boolean schemas" - "array with two items is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/prefixItems/1" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/prefixItems/1" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 739 - prefixItems.json: "prefixItems with boolean schemas" - "empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 740 - prefixItems.json: "additional items are allowed by default" - "only the first item is validated" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 741 - prefixItems.json: "prefixItems with null instance elements" - "allows null elements" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 742 - properties.json: "object properties validation" - "both properties present and valid is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 743 - properties.json: "object properties validation" - "one property invalid is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 744 - properties.json: "object properties validation" - "both properties invalid is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/type" 499s # }, 499s # { 499s # "error": "got array, not integer", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 745 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 746 - properties.json: "object properties validation" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 747 - properties.json: "object properties validation" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 748 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 749 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 3 items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/maxItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 3 items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/maxItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 750 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 2 items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/patternProperties/f.o/minItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 2 items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/patternProperties/f.o/minItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 751 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 752 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 2 items", 499s # "instanceLocation": "/fxo", 499s # "keywordLocation": "/patternProperties/f.o/minItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has fewer than 2 items", 499s # "instanceLocation": "/fxo", 499s # "keywordLocation": "/patternProperties/f.o/minItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 753 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 754 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 755 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/additionalProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 756 - properties.json: "properties with boolean schema" - "no property present is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 757 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 758 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 759 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 760 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 761 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\tbar", 499s # "keywordLocation": "/properties/foo\tbar/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\nbar", 499s # "keywordLocation": "/properties/foo\nbar/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\fbar", 499s # "keywordLocation": "/properties/foo\fbar/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\rbar", 499s # "keywordLocation": "/properties/foo\rbar/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\"bar", 499s # "keywordLocation": "/properties/foo\"bar/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\\bar", 499s # "keywordLocation": "/properties/foo\\bar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\tbar", 499s # "keywordLocation": "/properties/foo\tbar/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 762 - properties.json: "properties with null valued instance properties" - "allows null values" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 763 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 764 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 765 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 766 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/__proto__", 499s # "keywordLocation": "/properties/__proto__/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/__proto__", 499s # "keywordLocation": "/properties/__proto__/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 767 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/toString/length", 499s # "keywordLocation": "/properties/toString/properties/length/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/toString", 499s # "keywordLocation": "/properties/toString/properties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/toString/length", 499s # "keywordLocation": "/properties/toString/properties/length/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/toString", 499s # "keywordLocation": "/properties/toString/properties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 768 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not number", 499s # "instanceLocation": "/constructor", 499s # "keywordLocation": "/properties/constructor/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not number", 499s # "instanceLocation": "/constructor", 499s # "keywordLocation": "/properties/constructor/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 769 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 770 - propertyNames.json: "propertyNames validation" - "all property names valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 771 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 3", 499s # "instanceLocation": "/foobar", 499s # "keywordLocation": "/propertyNames/maxLength" 499s # }, 499s # { 499s # "error": "not all property names are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/propertyNames" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is greater than 3", 499s # "instanceLocation": "/foobar", 499s # "keywordLocation": "/propertyNames/maxLength" 499s # }, 499s # { 499s # "error": "not all property names are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/propertyNames" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 772 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 773 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 774 - propertyNames.json: "propertyNames validation" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 775 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 776 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 777 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 778 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/propertyNames" 499s # }, 499s # { 499s # "error": "not all property names are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/propertyNames" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "subschema is false", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/propertyNames" 499s # }, 499s # { 499s # "error": "not all property names are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/propertyNames" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 779 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 780 - ref.json: "root pointer ref" - "match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 781 - ref.json: "root pointer ref" - "recursive match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 782 - ref.json: "root pointer ref" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 783 - ref.json: "root pointer ref" - "recursive mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo/bar", 499s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/additionalProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo/bar", 499s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/additionalProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 784 - ref.json: "relative pointer ref to object" - "match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 785 - ref.json: "relative pointer ref to object" - "mismatch" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/properties/foo/type", 499s # "error": "got boolean, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/properties/foo/type", 499s # "error": "got boolean, not integer", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 786 - ref.json: "relative pointer ref to array" - "match array" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 787 - ref.json: "relative pointer ref to array" - "mismatch array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/prefixItems/0/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/prefixItems/1/$ref/type" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/prefixItems/0/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/prefixItems/1/$ref/type" 499s # }, 499s # { 499s # "error": "not all items are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/prefixItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 788 - ref.json: "escaped pointer ref" - "slash invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/slash", 499s # "keywordLocation": "/properties/slash/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/slash", 499s # "keywordLocation": "/properties/slash/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 789 - ref.json: "escaped pointer ref" - "tilde invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/tilde", 499s # "keywordLocation": "/properties/tilde/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/tilde", 499s # "keywordLocation": "/properties/tilde/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 790 - ref.json: "escaped pointer ref" - "percent invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/percent", 499s # "keywordLocation": "/properties/percent/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/percent", 499s # "keywordLocation": "/properties/percent/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 791 - ref.json: "escaped pointer ref" - "slash valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 792 - ref.json: "escaped pointer ref" - "tilde valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 793 - ref.json: "escaped pointer ref" - "percent valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 794 - ref.json: "nested refs" - "nested ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 795 - ref.json: "nested refs" - "nested ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/a/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/a/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 796 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 797 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 2 items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/maxItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "array has more than 2 items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/maxItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 798 - ref.json: "ref applies alongside sibling keywords" - "ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/reffed/type", 499s # "error": "got string, not array", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/reffed/type", 499s # "error": "got string, not array", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 799 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 800 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/nonNegativeInteger/minimum", 499s # "error": "value is less than 0", 499s # "instanceLocation": "/minLength", 499s # "keywordLocation": "/$ref/allOf/3/$ref/properties/minLength/$ref/$ref/minimum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf/3/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 499s # "error": "subschema 3 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/nonNegativeInteger/minimum", 499s # "error": "value is less than 0", 499s # "instanceLocation": "/minLength", 499s # "keywordLocation": "/$ref/allOf/3/$ref/properties/minLength/$ref/$ref/minimum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf/3/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 499s # "error": "subschema 3 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 801 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 802 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/$ref", 499s # "keywordLocation": "/properties/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/$ref", 499s # "keywordLocation": "/properties/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 803 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 804 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/is-string/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/$ref", 499s # "keywordLocation": "/properties/$ref/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/is-string/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/$ref", 499s # "keywordLocation": "/properties/$ref/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 805 - ref.json: "$ref to boolean schema true" - "any value is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 806 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/bool", 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/bool", 499s # "error": "subschema is false", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 807 - ref.json: "Recursive references between schemas" - "valid tree" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 808 - ref.json: "Recursive references between schemas" - "invalid tree" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties/value/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/nodes/0/subtree/nodes/0", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/nodes/0/subtree/nodes", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/nodes/0/subtree", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/nodes/0", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/nodes", 499s # "keywordLocation": "/properties/nodes/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties/value/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/nodes/0/subtree/nodes/0", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/nodes/0/subtree/nodes", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/nodes/0/subtree", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/nodes/0", 499s # "keywordLocation": "/properties/nodes/items/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/nodes", 499s # "keywordLocation": "/properties/nodes/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 809 - ref.json: "refs with quote" - "object with numbers is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 810 - ref.json: "refs with quote" - "object with strings is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\"bar", 499s # "keywordLocation": "/properties/foo\"bar/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "/foo\"bar", 499s # "keywordLocation": "/properties/foo\"bar/$ref/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 811 - ref.json: "ref creates new scope when adjacent to keywords" - "referenced subschema doesn't see annotations from properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/prop1", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/prop1", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/enum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 814 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 815 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo/bar", 499s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo/bar", 499s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 816 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 817 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 818 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo/bar", 499s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo/bar", 499s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 819 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 820 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 821 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 822 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 823 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 824 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id1/int.json#/maximum", 499s # "error": "value is greater than 10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id1/int.json#/maximum", 499s # "error": "value is greater than 10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 825 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 826 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id2/base.json#/$defs/bigint/maximum", 499s # "error": "value is greater than 10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id2/base.json#/$defs/bigint/maximum", 499s # "error": "value is greater than 10", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/maximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 827 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 828 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 499s # "error": "value is less than 30", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/minimum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 499s # "error": "value is less than 30", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/minimum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 829 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 830 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 831 - ref.json: "URN base URI with NSS" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 832 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 833 - ref.json: "URN base URI with r-component" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 834 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 835 - ref.json: "URN base URI with q-component" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 836 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 837 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 838 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 839 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 840 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 841 - ref.json: "URN ref with nested pointer ref" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 842 - ref.json: "URN ref with nested pointer ref" - "a non-string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 843 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 844 - ref.json: "ref to if" - "an integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 845 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 846 - ref.json: "ref to then" - "an integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 847 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 848 - ref.json: "ref to else" - "an integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 849 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 850 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 851 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 852 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 853 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 854 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 855 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 856 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs//$defs//type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/type" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs//$defs//type", 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/$ref/type" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 857 - refRemote.json: "remote ref" - "remote ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 858 - refRemote.json: "remote ref" - "remote ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 859 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 860 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 861 - refRemote.json: "anchor within remote ref" - "remote anchor valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 862 - refRemote.json: "anchor within remote ref" - "remote anchor invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 863 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 864 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 865 - refRemote.json: "base URI change" - "base URI change ref valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 866 - refRemote.json: "base URI change" - "base URI change ref invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/items/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChange/#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/0/0", 499s # "keywordLocation": "/items/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChange/#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 867 - refRemote.json: "base URI change - change folder" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 868 - refRemote.json: "base URI change - change folder" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolder/#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/properties/list/$ref/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs1.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolder/#/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/properties/list/$ref/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs1.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 869 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 870 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/#/$defs/bar/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/properties/list/$ref/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs2.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/list/0", 499s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/#/$defs/bar/items", 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "/list", 499s # "keywordLocation": "/properties/list/$ref/items" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs2.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 871 - refRemote.json: "root ref in remote ref" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 872 - refRemote.json: "root ref in remote ref" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 873 - refRemote.json: "root ref in remote ref" - "object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf/0/type", 499s # "error": "got object, not null", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/type", 499s # "error": "got object, not string", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/anyOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/object#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf/0/type", 499s # "error": "got object, not null", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/type", 499s # "error": "got object, not string", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/anyOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/object#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 874 - refRemote.json: "remote ref with ref to defs" - "invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/$ref/$ref/properties/bar/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 875 - refRemote.json: "remote ref with ref to defs" - "valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 876 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 877 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 878 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/name/foo", 499s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/foo-ref-string.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/some-id#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "/name/foo", 499s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/foo-ref-string.json#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/name", 499s # "keywordLocation": "/properties/name/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/some-id#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 879 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 880 - refRemote.json: "remote HTTP ref with different $id" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 881 - refRemote.json: "remote HTTP ref with different $id" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 882 - refRemote.json: "remote HTTP ref with different URN $id" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 883 - refRemote.json: "remote HTTP ref with different URN $id" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 884 - refRemote.json: "remote HTTP ref with nested absolute ref" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 885 - refRemote.json: "remote HTTP ref with nested absolute ref" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 886 - refRemote.json: "$ref to $ref finds detached $anchor" - "number is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 887 - refRemote.json: "$ref to $ref finds detached $anchor" - "non-number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-ref.json#/$defs/detached/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-ref.json#/$defs/detached/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/$ref/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 888 - required.json: "required validation" - "present required property is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 889 - required.json: "required validation" - "non-present required property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing property: foo", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 890 - required.json: "required validation" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 891 - required.json: "required validation" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 892 - required.json: "required validation" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 893 - required.json: "required default validation" - "not required by default" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 894 - required.json: "required with empty array" - "property not required" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 895 - required.json: "required with escaped characters" - "object with all properties present is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 896 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 897 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 898 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 899 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: __proto__, toString, constructor", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: __proto__, toString, constructor", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 900 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: toString, constructor", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: toString, constructor", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 901 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: __proto__, constructor", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: __proto__, constructor", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 902 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: __proto__, toString", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "object is missing properties: __proto__, toString", 499s # "instanceLocation": "", 499s # "keywordLocation": "/required" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 903 - required.json: "required properties whose names are Javascript object property names" - "all present" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 904 - type.json: "integer type matches integers" - "an integer is an integer" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 905 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 906 - type.json: "integer type matches integers" - "a float is not an integer" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got number, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got number, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 907 - type.json: "integer type matches integers" - "a string is not an integer" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 908 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 909 - type.json: "integer type matches integers" - "an object is not an integer" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got object, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got object, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 910 - type.json: "integer type matches integers" - "an array is not an integer" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got array, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got array, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 911 - type.json: "integer type matches integers" - "a boolean is not an integer" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got boolean, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got boolean, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 912 - type.json: "integer type matches integers" - "null is not an integer" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got null, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 499s # "error": "got null, not integer", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 913 - type.json: "number type matches numbers" - "an integer is a number" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 914 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 915 - type.json: "number type matches numbers" - "a float is a number" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 916 - type.json: "number type matches numbers" - "a string is not a number" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 917 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 918 - type.json: "number type matches numbers" - "an object is not a number" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 919 - type.json: "number type matches numbers" - "an array is not a number" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 920 - type.json: "number type matches numbers" - "a boolean is not a number" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 921 - type.json: "number type matches numbers" - "null is not a number" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 922 - type.json: "string type matches strings" - "1 is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 923 - type.json: "string type matches strings" - "a float is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got number, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got number, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 924 - type.json: "string type matches strings" - "a string is a string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 925 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 926 - type.json: "string type matches strings" - "an empty string is still a string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 927 - type.json: "string type matches strings" - "an object is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got object, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got object, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 928 - type.json: "string type matches strings" - "an array is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got array, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got array, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 929 - type.json: "string type matches strings" - "a boolean is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got boolean, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got boolean, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 930 - type.json: "string type matches strings" - "null is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got null, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got null, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 931 - type.json: "object type matches objects" - "an integer is not an object" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 932 - type.json: "object type matches objects" - "a float is not an object" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 933 - type.json: "object type matches objects" - "a string is not an object" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 934 - type.json: "object type matches objects" - "an object is an object" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 935 - type.json: "object type matches objects" - "an array is not an object" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 936 - type.json: "object type matches objects" - "a boolean is not an object" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 937 - type.json: "object type matches objects" - "null is not an object" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 938 - type.json: "array type matches arrays" - "an integer is not an array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 939 - type.json: "array type matches arrays" - "a float is not an array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 940 - type.json: "array type matches arrays" - "a string is not an array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 941 - type.json: "array type matches arrays" - "an object is not an array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 942 - type.json: "array type matches arrays" - "an array is an array" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 943 - type.json: "array type matches arrays" - "a boolean is not an array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 944 - type.json: "array type matches arrays" - "null is not an array" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not array", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 945 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 946 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 947 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 948 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 949 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 950 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 951 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 952 - type.json: "boolean type matches booleans" - "true is a boolean" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 953 - type.json: "boolean type matches booleans" - "false is a boolean" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 954 - type.json: "boolean type matches booleans" - "null is not a boolean" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not boolean", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 955 - type.json: "null type matches only the null object" - "an integer is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 956 - type.json: "null type matches only the null object" - "a float is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 957 - type.json: "null type matches only the null object" - "zero is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 958 - type.json: "null type matches only the null object" - "a string is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 959 - type.json: "null type matches only the null object" - "an empty string is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 960 - type.json: "null type matches only the null object" - "an object is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 961 - type.json: "null type matches only the null object" - "an array is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 962 - type.json: "null type matches only the null object" - "true is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 963 - type.json: "null type matches only the null object" - "false is not null" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 964 - type.json: "null type matches only the null object" - "null is null" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 965 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 966 - type.json: "multiple types can be specified in an array" - "a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 967 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got number, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 968 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got object, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 969 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got array, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 970 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got boolean, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 971 - type.json: "multiple types can be specified in an array" - "null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not one of integer, string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 972 - type.json: "type as array with one item" - "string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 973 - type.json: "type as array with one item" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not one of string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not one of string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 974 - type.json: "type: array or object" - "array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 975 - type.json: "type: array or object" - "object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 976 - type.json: "type: array or object" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not one of array, object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not one of array, object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 977 - type.json: "type: array or object" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not one of array, object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not one of array, object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 978 - type.json: "type: array or object" - "null is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not one of array, object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got null, not one of array, object", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 979 - type.json: "type: array, object or null" - "array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 980 - type.json: "type: array, object or null" - "object is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 981 - type.json: "type: array, object or null" - "null is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 982 - type.json: "type: array, object or null" - "number is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not one of array, object, null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not one of array, object, null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 983 - type.json: "type: array, object or null" - "string is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not one of array, object, null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not one of array, object, null", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 984 - unevaluatedItems.json: "unevaluatedItems true" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 985 - unevaluatedItems.json: "unevaluatedItems true" - "with unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 986 - unevaluatedItems.json: "unevaluatedItems false" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 987 - unevaluatedItems.json: "unevaluatedItems false" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 988 - unevaluatedItems.json: "unevaluatedItems as schema" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 989 - unevaluatedItems.json: "unevaluatedItems as schema" - "with valid unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 990 - unevaluatedItems.json: "unevaluatedItems as schema" - "with invalid unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 991 - unevaluatedItems.json: "unevaluatedItems with uniform items" - "unevaluatedItems doesn't apply" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 992 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 993 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 994 - unevaluatedItems.json: "unevaluatedItems with items and prefixItems" - "unevaluatedItems doesn't apply" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 995 - unevaluatedItems.json: "unevaluatedItems with items" - "valid under items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 996 - unevaluatedItems.json: "unevaluatedItems with items" - "invalid under items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 997 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 998 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 999 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with only (valid) additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1000 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with no additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1001 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with invalid additional item" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not boolean", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not boolean", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1002 - unevaluatedItems.json: "unevaluatedItems with nested prefixItems and items" - "with no additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1003 - unevaluatedItems.json: "unevaluatedItems with nested prefixItems and items" - "with additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1004 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with no additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1005 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with additional items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1006 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1007 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1008 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1009 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1010 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1011 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1012 - unevaluatedItems.json: "unevaluatedItems with not" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1013 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1014 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1015 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1016 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/4", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/4", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1017 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1018 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1019 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1020 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1021 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1022 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1023 - unevaluatedItems.json: "unevaluatedItems with $dynamicRef" - "with no unevaluated items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1024 - unevaluatedItems.json: "unevaluatedItems with $dynamicRef" - "with unevaluated items" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/$ref/unevaluatedItems" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/$ref/unevaluatedItems" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1025 - unevaluatedItems.json: "unevaluatedItems can't see inside cousins" - "always fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/allOf/1/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/allOf/1/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1026 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "no extra items" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1027 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "uncle keyword evaluation is not significant" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/foo/1", 499s # "keywordLocation": "/properties/foo/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/unevaluatedItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/foo/1", 499s # "keywordLocation": "/properties/foo/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/unevaluatedItems" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1028 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "second item is evaluated by contains" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1029 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "contains fails, second item is not evaluated" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/type" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/contains/type" 499s # }, 499s # { 499s # "error": "got integer, not string", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/contains/type" 499s # }, 499s # { 499s # "error": "subschema is not valid against any item", 499s # "instanceLocation": "", 499s # "keywordLocation": "/contains" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1030 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "contains passes, second item is not evaluated" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1031 - unevaluatedItems.json: "unevaluatedItems depends on multiple nested contains" - "5 not evaluated, passes unevaluatedItems" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1032 - unevaluatedItems.json: "unevaluatedItems depends on multiple nested contains" - "7 not evaluated, fails unevaluatedItems" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is not a multiple of 5", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems/multipleOf" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1033 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "empty array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1034 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only a's are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1035 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "a's and b's are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1036 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "a's, b's and c's are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1037 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only b's are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1038 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only c's are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1039 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only b's and c's are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/4", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/1", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/3", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/4", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1040 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only a's and c's are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/4", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/4", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1041 - unevaluatedItems.json: "non-array instances are valid" - "ignores booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1042 - unevaluatedItems.json: "non-array instances are valid" - "ignores integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1043 - unevaluatedItems.json: "non-array instances are valid" - "ignores floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1044 - unevaluatedItems.json: "non-array instances are valid" - "ignores objects" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1045 - unevaluatedItems.json: "non-array instances are valid" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1046 - unevaluatedItems.json: "non-array instances are valid" - "ignores null" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1047 - unevaluatedItems.json: "unevaluatedItems with null instance elements" - "allows null elements" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1048 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "valid in case if is evaluated" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1049 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "invalid in case if is evaluated" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/0", 499s # "keywordLocation": "/unevaluatedItems" 499s # }, 499s # { 499s # "error": "subschema is not valid against all additional items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1050 - unevaluatedProperties.json: "unevaluatedProperties true" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1051 - unevaluatedProperties.json: "unevaluatedProperties true" - "with unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1052 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1053 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with valid unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1054 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with invalid unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 3", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties/minLength" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 3", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties/minLength" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1055 - unevaluatedProperties.json: "unevaluatedProperties false" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1056 - unevaluatedProperties.json: "unevaluatedProperties false" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1057 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1058 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1059 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1060 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1061 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with no additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1062 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1063 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with no additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1064 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with additional properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1065 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with no additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1066 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with additional properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1067 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with no additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1068 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with additional properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1069 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with no nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1070 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1071 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1072 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1073 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1074 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1075 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1076 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/quux", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1077 - unevaluatedProperties.json: "unevaluatedProperties with not" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1078 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1079 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1080 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1081 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1082 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has no unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1083 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1084 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1085 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1086 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1087 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1088 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has no unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1089 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1090 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1091 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1092 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1093 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1094 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1095 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1096 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1097 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1098 - unevaluatedProperties.json: "unevaluatedProperties with $dynamicRef" - "with no unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1099 - unevaluatedProperties.json: "unevaluatedProperties with $dynamicRef" - "with unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/baz", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1100 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins" - "always fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1101 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins (reverse order)" - "always fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1102 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with no nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1103 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1104 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with no nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1105 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1106 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with no nested unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1107 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with nested unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1108 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with no nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1109 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with nested unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1110 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with no nested unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1111 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with nested unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1112 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with no nested unevaluated properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1113 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with nested unevaluated properties" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/1/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 1 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1114 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "no extra properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1115 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "uncle keyword evaluation is not significant" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo/faz", 499s # "keywordLocation": "/properties/foo/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo/faz", 499s # "keywordLocation": "/properties/foo/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/properties/foo/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1116 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "base case: both properties present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1117 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, bar is missing" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1118 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, foo is missing" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "subschema 0 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1119 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "base case: both properties present" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1120 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, bar is missing" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1121 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, foo is missing" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1122 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Empty is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1123 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Single is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1124 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 1st level is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/y", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/y", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1125 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Nested is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1126 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 2nd level is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x/y", 499s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x/y", 499s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1127 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Deep nested is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1128 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 3rd level is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x/x/y", 499s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/x/x", 499s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/properties/x/$ref/properties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x/x/y", 499s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/unevaluatedProperties", 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "/x/x", 499s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/properties/x/$ref/properties" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1129 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "Empty is invalid (no x or y)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/required", 499s # "error": "object is missing property: x", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 499s # }, 499s # { 499s # "error": "object is missing property: y", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/required", 499s # "error": "object is missing property: x", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 499s # }, 499s # { 499s # "error": "object is missing property: y", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1130 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b are invalid (no x or y)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/required", 499s # "error": "object is missing property: x", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 499s # }, 499s # { 499s # "error": "object is missing property: y", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/required", 499s # "error": "object is missing property: x", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 499s # }, 499s # { 499s # "error": "object is missing property: y", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1131 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "x and y are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/y", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/y", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1132 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and x are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1133 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and y are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1134 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1135 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and y are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1136 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x and y are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/y", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf/2/oneOf" 499s # }, 499s # { 499s # "error": "subschema 2 is not valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/allOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/x", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/y", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1137 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "Empty is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 499s # "error": "object is missing property: c", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 499s # "error": "object is missing property: d", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 499s # "error": "object is missing property: b", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 499s # "error": "object is missing property: xx", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 499s # "error": "object is missing property: all", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 499s # "error": "object is missing property: c", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 499s # "error": "object is missing property: d", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 499s # "error": "object is missing property: b", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 499s # "error": "object is missing property: xx", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 499s # "error": "object is missing property: all", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1138 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1139 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1140 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1141 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "d is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1142 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + b is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1143 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + c is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1144 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + d is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1145 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + c is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/b", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/c", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/b", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/c", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1146 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + d is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/b", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/d", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/b", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/d", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1147 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c + d is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 499s # "error": "object is missing property: b", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 499s # "error": "object is missing property: xx", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 499s # "error": "object is missing property: all", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/c", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/d", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 499s # "error": "object is missing property: b", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 499s # "error": "object is missing property: xx", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 499s # "error": "object is missing property: all", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/c", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/d", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1148 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1149 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foox is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1150 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foo is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1151 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + a is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1152 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + b is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 1, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/b", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/xx", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 1, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/b", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/xx", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1153 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + c is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/c", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/xx", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/c", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/xx", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1154 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + d is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/d", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/xx", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 499s # "error": "multiple subschemas are valid: 0, 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/0/$ref/oneOf" 499s # }, 499s # { 499s # "error": "object is missing property: a", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf/1/required" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/d", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/xx", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1155 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1156 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + foo is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1157 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + a is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "multiple subschemas are valid: 0, 1", 499s # "instanceLocation": "", 499s # "keywordLocation": "/oneOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1158 - unevaluatedProperties.json: "non-object instances are valid" - "ignores booleans" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1159 - unevaluatedProperties.json: "non-object instances are valid" - "ignores integers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1160 - unevaluatedProperties.json: "non-object instances are valid" - "ignores floats" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1161 - unevaluatedProperties.json: "non-object instances are valid" - "ignores arrays" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1162 - unevaluatedProperties.json: "non-object instances are valid" - "ignores strings" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1163 - unevaluatedProperties.json: "non-object instances are valid" - "ignores null" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1164 - unevaluatedProperties.json: "unevaluatedProperties with null valued instance properties" - "allows null valued properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1165 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "allows only number properties" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1166 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "string property is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/unevaluatedProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "/a", 499s # "keywordLocation": "/unevaluatedProperties/type" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1167 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "valid in case if is evaluated" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1168 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "invalid in case if is evaluated" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1169 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't consider dependentSchemas" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/foo", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1170 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't see bar when foo2 is absent" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/unevaluatedProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/unevaluatedProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1171 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties sees bar when foo2 is present" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 1172 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1173 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1174 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 2 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 2 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1175 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1176 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1177 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1178 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1179 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 2 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 2 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1180 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1181 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1182 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1183 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1184 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1185 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1186 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1187 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 2 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 2 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1188 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1189 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1190 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1191 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1192 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1193 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1194 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1195 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 4 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 4 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1196 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1197 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1198 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1199 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1200 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1201 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1202 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1203 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1204 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1205 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1206 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 2 and 3 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 2 and 3 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1207 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 2 and 3 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 2 and 3 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1208 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1209 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1210 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1211 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "items at indices 0 and 1 are not unique", 499s # "instanceLocation": "", 499s # "keywordLocation": "/uniqueItems" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1212 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1213 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1214 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1215 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1216 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1217 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1218 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1219 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1220 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1221 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1222 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1223 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1224 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1225 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1226 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1227 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1228 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1229 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1230 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1231 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1232 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1233 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1234 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1235 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1236 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1237 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1238 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1239 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1240 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional item not permitted", 499s # "instanceLocation": "/2", 499s # "keywordLocation": "/items" 499s # }, 499s # { 499s # "error": "subschema is not valid against all items", 499s # "instanceLocation": "", 499s # "keywordLocation": "/items" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1241 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "applicator vocabulary still works" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 499s # "error": "property not permitted", 499s # "instanceLocation": "/badProperty", 499s # "keywordLocation": "/properties/badProperty" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 499s # "error": "property not permitted", 499s # "instanceLocation": "/badProperty", 499s # "keywordLocation": "/properties/badProperty" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1242 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: valid number" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1243 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: invalid number, but it still validates" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1244 - vocabulary.json: "ignore unrecognized optional vocabulary" - "string value" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not number", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1245 - vocabulary.json: "ignore unrecognized optional vocabulary" - "number value" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 1246 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "exact match to enum, and type matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1247 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "in implementations that strip $anchor, this may match either $def" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 499s # "error": "got object, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 499s # "error": "got object, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1248 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "match $ref to $anchor" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1249 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "no match on enum or $ref to $anchor" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1250 - optional/bignum.json: "integer" - "a bignum is an integer" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1251 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1252 - optional/bignum.json: "number" - "a bignum is a number" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1253 - optional/bignum.json: "number" - "a negative bignum is a number" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1254 - optional/bignum.json: "string" - "a bignum is not a string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/type" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1255 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1256 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMaximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMaximum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1257 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1258 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMinimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 499s # "instanceLocation": "", 499s # "keywordLocation": "/exclusiveMinimum" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1259 - optional/cross-draft.json: "refs to historic drafts are processed as historic drafts" - "first item not a string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 1260 - optional/dependencies-compatibility.json: "single dependency" - "neither" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1261 - optional/dependencies-compatibility.json: "single dependency" - "nondependant" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1262 - optional/dependencies-compatibility.json: "single dependency" - "with dependency" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1263 - optional/dependencies-compatibility.json: "single dependency" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":2}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":[\"foo\"]}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1264 - optional/dependencies-compatibility.json: "single dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1265 - optional/dependencies-compatibility.json: "single dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1266 - optional/dependencies-compatibility.json: "single dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1267 - optional/dependencies-compatibility.json: "empty dependents" - "empty object" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1268 - optional/dependencies-compatibility.json: "empty dependents" - "object with one property" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1269 - optional/dependencies-compatibility.json: "empty dependents" - "non-object is valid" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1270 - optional/dependencies-compatibility.json: "multiple dependents required" - "neither" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1271 - optional/dependencies-compatibility.json: "multiple dependents required" - "nondependants" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1272 - optional/dependencies-compatibility.json: "multiple dependents required" - "with dependencies" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1273 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"foo\":1,\"quux\":2}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1274 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing other dependency" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":1,\"quux\":2}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1275 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing both dependencies" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"quux\":1}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1276 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1277 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1278 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF missing dependent" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"foo\":2,\"foo\\nbar\":1}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1279 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"foo\\\"bar\":2}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1280 - optional/dependencies-compatibility.json: "single schema dependency" - "valid" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1281 - optional/dependencies-compatibility.json: "single schema dependency" - "no dependency" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1282 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":2,\"foo\":\"quux\"}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1283 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type other" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":\"quux\",\"foo\":2}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1284 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type both" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":\"quux\",\"foo\":\"quux\"}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1285 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1286 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1287 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1288 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema true is valid" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1289 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema false is invalid" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":2}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1290 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with both properties is invalid" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"bar\":2,\"foo\":1}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1291 - optional/dependencies-compatibility.json: "boolean subschemas" - "empty object is valid" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1292 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s ok 1293 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"foo'bar\":{\"foo\\\"bar\":1}}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1294 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"a\":2,\"foo\\tbar\":1}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1295 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"foo'bar\":1}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s # 499s ok 1296 - optional/dynamicRef.json: "$dynamicRef skips over intermediate resources - pointer reference across resource boundary" - "integer property passes" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1297 - optional/dynamicRef.json: "$dynamicRef skips over intermediate resources - pointer reference across resource boundary" - "string property fails" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/$defs/defaultContent/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar-item/content", 499s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar-item", 499s # "keywordLocation": "/properties/bar-item/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/$defs/defaultContent/type", 499s # "error": "got string, not integer", 499s # "instanceLocation": "/bar-item/content", 499s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "/bar-item", 499s # "keywordLocation": "/properties/bar-item/$ref/properties" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main#/properties", 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/properties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1298 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1299 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1300 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1301 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1302 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1303 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1304 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1305 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1306 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "\"߀\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "\"߀\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false # 499s 1..1 499s } 499s 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" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "\"߀\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "\"߀\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s ok 1312 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true # 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "\"é\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false # 499s 1..1 499s } 499s 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" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "\"é\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s ok 1316 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1317 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1318 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1319 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1320 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1321 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "\"\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s ok 1322 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1323 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1324 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1325 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1326 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1327 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1328 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1329 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1330 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1331 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "\"\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1333 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1334 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1335 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1336 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1337 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1338 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1339 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1340 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1341 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1342 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # 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.\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"\\\\wcole\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # 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.\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"\\\\wcole\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1345 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1346 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1347 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1348 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1349 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1350 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "\"৪২\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d+$\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "\"\\\\a\"" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"regex\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1353 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1354 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1355 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1356 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1357 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1358 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1359 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/L'ÉCOLE", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/L'ÉCOLE", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1360 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"l'école\":\"pas de vraie vie\"}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"l'école\":\"pas de vraie vie\"}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1363 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/L'ÉCOLE", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/L'ÉCOLE", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1364 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/l'école", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/l'école", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1365 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/l'école", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/l'école", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1366 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1367 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1368 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/-%#", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/-%#", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s 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" 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected false; got true 499s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 499s # result: { 499s # "valid": true 499s # } 499s 1..1 499s } 499s ok 1370 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1371 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/-%#", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "additional property not permitted", 499s # "instanceLocation": "/-%#", 499s # "keywordLocation": "/additionalProperties" 499s # }, 499s # { 499s # "error": "not all additional properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/additionalProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1372 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 1373 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 1374 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: valid string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1375 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: invalid string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 499s # "error": "not a valid ipv4", 499s # "instanceLocation": "", 499s # "keywordLocation": "/format" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 499s # "error": "not a valid ipv4", 499s # "instanceLocation": "", 499s # "keywordLocation": "/format" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1376 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: valid string" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1377 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: invalid string" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 499s # "error": "not a valid ipv4", 499s # "instanceLocation": "", 499s # "keywordLocation": "/format" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 499s # "error": "not a valid ipv4", 499s # "instanceLocation": "", 499s # "keywordLocation": "/format" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1378 - optional/id.json: "$id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1379 - optional/id.json: "$id inside an enum is not a real identifier" - "match $ref to $id" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1380 - optional/id.json: "$id inside an enum is not a real identifier" - "no match on enum or $ref to $id" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/id/my_identifier.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 499s # "error": "value does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/enum" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/id/my_identifier.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1381 - optional/no-schema.json: "validation without $schema" - "a 3-character string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1382 - optional/no-schema.json: "validation without $schema" - "a 1-character string is not valid" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "length is less than 2", 499s # "instanceLocation": "", 499s # "keywordLocation": "/minLength" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1383 - optional/no-schema.json: "validation without $schema" - "a non-string is valid" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s # 499s ok 1384 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1385 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1386 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1387 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1388 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1389 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1390 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "pattern does not match", 499s # "instanceLocation": "", 499s # "keywordLocation": "/pattern" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1391 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1392 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1393 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1394 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/🐲", 499s # "keywordLocation": "/patternProperties/^🐲*$/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/🐲", 499s # "keywordLocation": "/patternProperties/^🐲*$/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1395 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/🐲🐲", 499s # "keywordLocation": "/patternProperties/^🐲*$/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "got string, not integer", 499s # "instanceLocation": "/🐲🐲", 499s # "keywordLocation": "/patternProperties/^🐲*$/type" 499s # }, 499s # { 499s # "error": "not all properties are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/patternProperties" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s ok 1396 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "match" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "{\"bar\":3}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/unknown-keyword\"}},\"unknown-keyword\":{\"type\":\"integer\"}}" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s ok 1397 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "mismatch" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false # 499s 1..1 499s } 499s ok 1398 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "match" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "{\"bar\":3}" 499s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/properties/foo/unknown-keyword\"},\"foo\":{\"unknown-keyword\":{\"type\":\"integer\"}}}}" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s ok 1399 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "mismatch" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 499s # "instanceLocation": "/bar", 499s # "keywordLocation": "/properties/bar/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false # 499s 1..1 499s } 499s ok 1400 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "match" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "/base#/$ref", 499s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "/base#/$ref", 499s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s not ok 1 - evaluation result is incorrect # 499s # Failed test (with amnesty) 'evaluation result is incorrect' 499s # at t/zzz-acceptance-draft2020-12.t line 51. 499s # expected true; got false 499s # data: "\"a string\"" 499s # schema: "{\"$id\":\"/base\",\"$ref\":\"#/examples/0\",\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"examples\":[{\"type\":\"string\"}]}" 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "/base#/$ref", 499s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s 1..1 499s } 499s ok 1401 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "mismatch" { # TODO Test marked TODO via "todo_tests" 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "/base#/$ref", 499s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "/base#/$ref", 499s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 499s # "instanceLocation": "", 499s # "keywordLocation": "/$ref" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false # 499s 1..1 499s } 499s # 499s 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" { 499s # result: { 499s # "valid": true 499s # } 499s # short-circuited result: { 499s # "valid": true 499s # } 499s ok 1 - test passes: data is valid: true 499s 1..1 499s } 499s ok 1403 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 499s # "error": "got null, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/2/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 499s # "error": "got null, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/2/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s ok 1404 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 499s # result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/2/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s # short-circuited result: { 499s # "errors": [ 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/0/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 499s # "error": "subschema is valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/1/$ref/not" 499s # }, 499s # { 499s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 499s # "error": "got integer, not string", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf/2/$ref/type" 499s # }, 499s # { 499s # "error": "no subschemas are valid", 499s # "instanceLocation": "", 499s # "keywordLocation": "/anyOf" 499s # } 499s # ], 499s # "valid": false 499s # } 499s ok 1 - test passes: data is valid: false 499s 1..1 499s } 499s # 499s # 499s # generated with: Test::JSON::Schema::Acceptance 1.026 499s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 499s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 499s # specification version: draft2020-12 499s # optional tests included: yes 499s # skipping directory: optional/format 499s # 499s # filename pass todo-fail fail 499s # --------------------------------------------------------------- 499s # additionalProperties.json 21 0 0 499s # allOf.json 30 0 0 499s # anchor.json 8 0 0 499s # anyOf.json 18 0 0 499s # boolean_schema.json 18 0 0 499s # const.json 50 0 0 499s # contains.json 21 0 0 499s # content.json 18 0 0 499s # default.json 7 0 0 499s # defs.json 2 0 0 499s # dependentRequired.json 20 0 0 499s # dependentSchemas.json 20 0 0 499s # dynamicRef.json 42 0 0 499s # enum.json 45 0 0 499s # exclusiveMaximum.json 4 0 0 499s # exclusiveMinimum.json 4 0 0 499s # format.json 133 0 0 499s # if-then-else.json 26 0 0 499s # infinite-loop-detection.json 2 0 0 499s # items.json 29 0 0 499s # maxContains.json 12 0 0 499s # maxItems.json 6 0 0 499s # maxLength.json 7 0 0 499s # maxProperties.json 10 0 0 499s # maximum.json 8 0 0 499s # minContains.json 28 0 0 499s # minItems.json 6 0 0 499s # minLength.json 7 0 0 499s # minProperties.json 8 0 0 499s # minimum.json 11 0 0 499s # multipleOf.json 10 0 0 499s # not.json 40 0 0 499s # oneOf.json 27 0 0 499s # pattern.json 9 0 0 499s # patternProperties.json 23 0 0 499s # prefixItems.json 11 0 0 499s # properties.json 28 0 0 499s # propertyNames.json 10 0 0 499s # ref.json 77 0 0 499s # refRemote.json 31 0 0 499s # required.json 16 0 0 499s # type.json 80 0 0 499s # unevaluatedItems.json 66 0 0 499s # unevaluatedProperties.json 122 0 0 499s # uniqueItems.json 69 0 0 499s # vocabulary.json 5 0 0 499s # optional/anchor.json 4 0 0 499s # optional/bignum.json 9 0 0 499s # optional/cross-draft.json 1 0 0 499s # optional/dependencies-compatibility.json 22 14 0 499s # optional/dynamicRef.json 2 0 0 499s # optional/ecmascript-regex.json 60 15 0 499s # optional/float-overflow.json 1 0 0 499s # optional/format-assertion.json 4 0 0 499s # optional/id.json 3 0 0 499s # optional/no-schema.json 3 0 0 499s # optional/non-bmp-regex.json 12 0 0 499s # optional/refOfUnknownKeyword.json 3 3 0 499s # optional/unknownKeyword.json 3 0 0 499s # --------------------------------------------------------------- 499s # TOTAL 1372 32 0 499s # 499s # Congratulations, all non-optional tests are passing! 499s # 499s ok 1405 - no leaks in the main evaluator object 499s ok 1406 - no leaks in the short-circuiting evaluator object 499s 1..1406 499s ok 500s t/zzz-acceptance-draft4-format.t ........ 500s # AUTHOR_TESTING: 500s # AUTOMATED_TESTING: 1 500s # EXTENDED_TESTING: 500s # NO_TODO: 500s # TEST_DIR: 500s # NO_SHORT_CIRCUIT: 500s # 500s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft4/optional/format against draft4... 500s # 500s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid date-time", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s # 500s ok 26 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 27 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 28 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 29 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 30 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 31 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 32 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 33 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 34 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 35 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 36 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 37 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 38 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 39 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 40 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid email", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s # 500s ok 41 - hostname.json: "validation of host names" - "all string formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 42 - hostname.json: "validation of host names" - "all string formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 43 - hostname.json: "validation of host names" - "all string formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 44 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 45 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 46 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 47 - hostname.json: "validation of host names" - "a valid host name" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 48 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 49 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 50 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 51 - hostname.json: "validation of host names" - "a host name with a component too long" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 52 - hostname.json: "validation of host names" - "starts with hyphen" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 53 - hostname.json: "validation of host names" - "ends with hyphen" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 54 - hostname.json: "validation of host names" - "starts with underscore" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 55 - hostname.json: "validation of host names" - "ends with underscore" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 56 - hostname.json: "validation of host names" - "contains underscore" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 57 - hostname.json: "validation of host names" - "maximum label length" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 58 - hostname.json: "validation of host names" - "exceeds maximum label length" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 59 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s not ok 1 - evaluation result is incorrect # 500s # Failed test (with amnesty) 'evaluation result is incorrect' 500s # at t/zzz-acceptance-draft4-format.t line 65. 500s # expected true; got false 500s # data: "\"hostname\"" 500s # schema: "{\"format\":\"hostname\"}" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s 1..1 500s } 500s ok 60 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s not ok 1 - evaluation result is incorrect # 500s # Failed test (with amnesty) 'evaluation result is incorrect' 500s # at t/zzz-acceptance-draft4-format.t line 65. 500s # expected true; got false 500s # data: "\"host-name\"" 500s # schema: "{\"format\":\"hostname\"}" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s 1..1 500s } 500s ok 61 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s not ok 1 - evaluation result is incorrect # 500s # Failed test (with amnesty) 'evaluation result is incorrect' 500s # at t/zzz-acceptance-draft4-format.t line 65. 500s # expected true; got false 500s # data: "\"h0stn4me\"" 500s # schema: "{\"format\":\"hostname\"}" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s 1..1 500s } 500s ok 62 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s not ok 1 - evaluation result is incorrect # 500s # Failed test (with amnesty) 'evaluation result is incorrect' 500s # at t/zzz-acceptance-draft4-format.t line 65. 500s # expected true; got false 500s # data: "\"hostnam3\"" 500s # schema: "{\"format\":\"hostname\"}" 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid hostname", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s 1..1 500s } 500s # 500s ok 63 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 64 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 65 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 66 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 67 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 68 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 69 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 70 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 71 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 72 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 73 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 74 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 75 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 76 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 77 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 78 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv4", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s # 500s ok 79 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 80 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 81 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 82 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 83 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 84 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 85 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 86 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 87 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 88 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 89 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 90 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 91 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 92 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 93 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 94 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 95 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 96 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 97 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 98 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 99 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 100 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 101 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 102 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 103 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 104 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 105 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 106 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 107 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 108 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 109 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 110 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 111 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 112 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 113 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 114 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 115 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 116 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 117 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 118 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid ipv6", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s # 500s ok 119 - unknown.json: "unknown format" - "unknown formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 120 - unknown.json: "unknown format" - "unknown formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 121 - unknown.json: "unknown format" - "unknown formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 122 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 123 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 124 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 125 - unknown.json: "unknown format" - "unknown formats ignore strings" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s # 500s ok 126 - uri.json: "validation of URIs" - "all string formats ignore integers" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 127 - uri.json: "validation of URIs" - "all string formats ignore floats" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 128 - uri.json: "validation of URIs" - "all string formats ignore objects" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 129 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 130 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 131 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 132 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 133 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 134 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 135 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 136 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 137 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 138 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 139 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 140 - uri.json: "validation of URIs" - "a valid URL " { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 141 - uri.json: "validation of URIs" - "a valid mailto URI" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 142 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 143 - uri.json: "validation of URIs" - "a valid tel URI" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 144 - uri.json: "validation of URIs" - "a valid URN" { 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s ok 1 - test passes: data is valid: true 500s 1..1 500s } 500s ok 145 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 146 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 147 - uri.json: "validation of URIs" - "an invalid URI" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 148 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 149 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 150 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 500s # result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s # short-circuited result: { 500s # "errors": [ 500s # { 500s # "error": "not a valid uri", 500s # "instanceLocation": "", 500s # "keywordLocation": "/format" 500s # } 500s # ], 500s # "valid": false 500s # } 500s ok 1 - test passes: data is valid: false 500s 1..1 500s } 500s ok 151 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 500s # result: { 500s # "valid": true 500s # } 500s # short-circuited result: { 500s # "valid": true 500s # } 500s not ok 1 - evaluation result is incorrect # 500s # Failed test (with amnesty) 'evaluation result is incorrect' 500s # at t/zzz-acceptance-draft4-format.t line 65. 500s # expected false; got true 500s # data: "\"bar,baz:foo\"" 500s # schema: "{\"format\":\"uri\"}" 500s # result: { 500s # "valid": true 500s # } 500s 1..1 500s } 500s # 500s # 500s # generated with: Test::JSON::Schema::Acceptance 1.026 500s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 500s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 500s # specification version: draft4 500s # using custom test directory: /optional/format 500s # optional tests included: yes 500s # 500s # filename pass todo-fail fail 500s # --------------------------------------------------------------- 500s # date-time.json 25 0 0 500s # email.json 15 0 0 500s # hostname.json 18 4 0 500s # ipv4.json 16 0 0 500s # ipv6.json 40 0 0 500s # unknown.json 7 0 0 500s # uri.json 25 1 0 500s # --------------------------------------------------------------- 500s # TOTAL 146 5 0 500s # 500s # Congratulations, all non-optional tests are passing! 500s # 500s ok 152 - no leaks in the main evaluator object 500s ok 153 - no leaks in the short-circuiting evaluator object 500s 1..153 500s ok 506s t/zzz-acceptance-draft4.t ............... 506s # AUTHOR_TESTING: 506s # AUTOMATED_TESTING: 1 506s # EXTENDED_TESTING: 506s # NO_TODO: 506s # TEST_DIR: 506s # NO_SHORT_CIRCUIT: 506s # 506s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 506s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft4 against draft4... 506s # 506s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/3", 506s # "keywordLocation": "/additionalItems/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/3", 506s # "keywordLocation": "/additionalItems/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "all items match schema" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 4 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 5 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/3", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/3", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 9 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 10 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 11 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 12 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 13 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not boolean", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/additionalItems/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not boolean", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/additionalItems/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 14 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 15 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/additionalItems/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/additionalItems/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 16 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/2", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 17 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 18 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 19 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 20 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/quux", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/quux", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 25 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 26 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/élmény", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/élmény", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 27 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 28 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 29 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "/quux", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "/quux", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 30 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 31 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 32 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 33 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 34 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 35 - allOf.json: "allOf" - "allOf" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 36 - allOf.json: "allOf" - "mismatch second" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/required" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/required" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 37 - allOf.json: "allOf" - "mismatch first" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/required" 506s # }, 506s # { 506s # "error": "subschema 1 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/required" 506s # }, 506s # { 506s # "error": "subschema 1 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 38 - allOf.json: "allOf" - "wrong type" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/allOf/0/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/properties" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/allOf/0/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/properties" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 39 - allOf.json: "allOf with base schema" - "valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 40 - allOf.json: "allOf with base schema" - "mismatch base schema" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 41 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/required" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/required" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 42 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: baz", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/required" 506s # }, 506s # { 506s # "error": "subschema 1 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: baz", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/required" 506s # }, 506s # { 506s # "error": "subschema 1 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 43 - allOf.json: "allOf with base schema" - "mismatch both" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/required" 506s # }, 506s # { 506s # "error": "object is missing property: baz", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/required" 506s # }, 506s # { 506s # "error": "subschemas 0, 1 are not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/required" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 44 - allOf.json: "allOf simple types" - "valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 45 - allOf.json: "allOf simple types" - "mismatch one" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 30", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/maximum" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 30", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/maximum" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 46 - allOf.json: "allOf with one empty schema" - "any data is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 47 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 48 - allOf.json: "allOf with the first empty schema" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 49 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/type" 506s # }, 506s # { 506s # "error": "subschema 1 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/type" 506s # }, 506s # { 506s # "error": "subschema 1 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 50 - allOf.json: "allOf with the last empty schema" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 51 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 52 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 53 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/allOf/0/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/allOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/allOf/0/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/allOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 54 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # }, 506s # { 506s # "error": "value is not a multiple of 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # }, 506s # { 506s # "error": "value is not a multiple of 5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 55 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # }, 506s # { 506s # "error": "value is not a multiple of 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 56 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # }, 506s # { 506s # "error": "value is not a multiple of 5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 57 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 58 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # }, 506s # { 506s # "error": "value is not a multiple of 5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/multipleOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 62 - anyOf.json: "anyOf" - "first anyOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 63 - anyOf.json: "anyOf" - "second anyOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 64 - anyOf.json: "anyOf" - "both anyOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 65 - anyOf.json: "anyOf" - "neither anyOf valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/type" 506s # }, 506s # { 506s # "error": "value is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/minimum" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/type" 506s # }, 506s # { 506s # "error": "value is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/minimum" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 66 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 67 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 68 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "length is greater than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/maxLength" 506s # }, 506s # { 506s # "error": "length is less than 4", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/minLength" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "length is greater than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/maxLength" 506s # }, 506s # { 506s # "error": "length is less than 4", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/minLength" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 69 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 70 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 71 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 72 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/anyOf/0/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/properties" 506s # }, 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/anyOf/1/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/properties" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/anyOf/0/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/properties" 506s # }, 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/anyOf/1/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/properties" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 73 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 74 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 75 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 76 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/anyOf/0/type" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/anyOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/anyOf/0/type" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/anyOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 77 - default.json: "invalid type for default" - "valid when property is specified" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 78 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 79 - default.json: "invalid string value for default" - "valid when property is specified" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 80 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s 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)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s 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)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 3", 506s # "instanceLocation": "/alpha", 506s # "keywordLocation": "/properties/alpha/maximum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 3", 506s # "instanceLocation": "/alpha", 506s # "keywordLocation": "/properties/alpha/maximum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s 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" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 84 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 85 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/simpleTypes/enum", 506s # "error": "value does not match", 506s # "instanceLocation": "/definitions/foo/type", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf/1/type", 506s # "error": "got integer, not array", 506s # "instanceLocation": "/definitions/foo/type", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf", 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "/definitions/foo/type", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/definitions/foo", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/definitions/additionalProperties", 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "/definitions", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/simpleTypes/enum", 506s # "error": "value does not match", 506s # "instanceLocation": "/definitions/foo/type", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf/1/type", 506s # "error": "got integer, not array", 506s # "instanceLocation": "/definitions/foo/type", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf", 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "/definitions/foo/type", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/definitions/foo", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/definitions/additionalProperties", 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "/definitions", 506s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 86 - dependencies.json: "dependencies" - "neither" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 87 - dependencies.json: "dependencies" - "nondependant" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 88 - dependencies.json: "dependencies" - "with dependency" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 89 - dependencies.json: "dependencies" - "missing dependency" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 90 - dependencies.json: "dependencies" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 91 - dependencies.json: "dependencies" - "ignores strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 92 - dependencies.json: "dependencies" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 93 - dependencies.json: "multiple dependencies" - "neither" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 94 - dependencies.json: "multiple dependencies" - "nondependants" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 95 - dependencies.json: "multiple dependencies" - "with dependencies" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 96 - dependencies.json: "multiple dependencies" - "missing dependency" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/quux" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/quux" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 97 - dependencies.json: "multiple dependencies" - "missing other dependency" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/quux" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/quux" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 98 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: foo, bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/quux" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: foo, bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/quux" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 99 - dependencies.json: "multiple dependencies subschema" - "valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 100 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 101 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/bar/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar/properties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/bar/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar/properties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 102 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/dependencies/bar/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar/properties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/dependencies/bar/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar/properties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 103 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/dependencies/bar/properties/bar/type" 506s # }, 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/bar/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar/properties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/dependencies/bar/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/bar/properties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 104 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 105 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 106 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 107 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo\rbar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo\nbar" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo\rbar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo\nbar" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 108 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object has fewer than 4 properties", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object has fewer than 4 properties", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 109 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo\"bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo'bar/required" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo\"bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo'bar/required" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 110 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo'bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo\"bar" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo'bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo\"bar" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 111 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 112 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 113 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies/foo/additionalProperties" 506s # }, 506s # { 506s # "error": "not all dependencies are satisfied", 506s # "instanceLocation": "", 506s # "keywordLocation": "/dependencies" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 114 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 115 - enum.json: "simple enum validation" - "one of the enum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 116 - enum.json: "simple enum validation" - "something else is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 117 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 118 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 119 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 506s # result: { 506s # "errors": [ 506s # { 506s # "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)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "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)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 120 - enum.json: "heterogeneous enum validation" - "valid object matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 121 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 122 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 123 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 124 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 125 - enum.json: "enums in properties" - "both properties are valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 126 - enum.json: "enums in properties" - "wrong foo value" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/enum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/enum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 127 - enum.json: "enums in properties" - "wrong bar value" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/enum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/enum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 128 - enum.json: "enums in properties" - "missing optional property is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 129 - enum.json: "enums in properties" - "missing required property is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 130 - enum.json: "enums in properties" - "missing all properties is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 131 - enum.json: "enum with escaped characters" - "member 1 is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 132 - enum.json: "enum with escaped characters" - "member 2 is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 133 - enum.json: "enum with escaped characters" - "another string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 134 - enum.json: "enum with false does not match 0" - "false is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 135 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 136 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 137 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 138 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 139 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 140 - enum.json: "enum with true does not match 1" - "true is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 141 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 142 - enum.json: "enum with true does not match 1" - "float one is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 143 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 144 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 145 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 146 - enum.json: "enum with 0 does not match false" - "false is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 147 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 148 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 149 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 150 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 151 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 152 - enum.json: "enum with 1 does not match true" - "true is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 153 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 154 - enum.json: "enum with 1 does not match true" - "float one is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 155 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 156 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 157 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 158 - enum.json: "nul characters in strings" - "match string with nul" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 159 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 160 - format.json: "email format" - "all string formats ignore integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 161 - format.json: "email format" - "all string formats ignore floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 162 - format.json: "email format" - "all string formats ignore objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 163 - format.json: "email format" - "all string formats ignore arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 164 - format.json: "email format" - "all string formats ignore booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 165 - format.json: "email format" - "all string formats ignore nulls" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 166 - format.json: "ipv4 format" - "all string formats ignore integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 167 - format.json: "ipv4 format" - "all string formats ignore floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 168 - format.json: "ipv4 format" - "all string formats ignore objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 169 - format.json: "ipv4 format" - "all string formats ignore arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 170 - format.json: "ipv4 format" - "all string formats ignore booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 171 - format.json: "ipv4 format" - "all string formats ignore nulls" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 172 - format.json: "ipv6 format" - "all string formats ignore integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 173 - format.json: "ipv6 format" - "all string formats ignore floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 174 - format.json: "ipv6 format" - "all string formats ignore objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 175 - format.json: "ipv6 format" - "all string formats ignore arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 176 - format.json: "ipv6 format" - "all string formats ignore booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 177 - format.json: "ipv6 format" - "all string formats ignore nulls" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 178 - format.json: "hostname format" - "all string formats ignore integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 179 - format.json: "hostname format" - "all string formats ignore floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 180 - format.json: "hostname format" - "all string formats ignore objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 181 - format.json: "hostname format" - "all string formats ignore arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 182 - format.json: "hostname format" - "all string formats ignore booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 183 - format.json: "hostname format" - "all string formats ignore nulls" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 184 - format.json: "date-time format" - "all string formats ignore integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 185 - format.json: "date-time format" - "all string formats ignore floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 186 - format.json: "date-time format" - "all string formats ignore objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 187 - format.json: "date-time format" - "all string formats ignore arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 188 - format.json: "date-time format" - "all string formats ignore booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 189 - format.json: "date-time format" - "all string formats ignore nulls" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 190 - format.json: "uri format" - "all string formats ignore integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 191 - format.json: "uri format" - "all string formats ignore floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 192 - format.json: "uri format" - "all string formats ignore objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 193 - format.json: "uri format" - "all string formats ignore arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 194 - format.json: "uri format" - "all string formats ignore booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 195 - format.json: "uri format" - "all string formats ignore nulls" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s 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" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s 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" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/int/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/definitions/int/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/1/additionalProperties" 506s # }, 506s # { 506s # "error": "subschemas 0, 1 are not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/int/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/properties" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 198 - items.json: "a schema given for items" - "valid items" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 199 - items.json: "a schema given for items" - "wrong type of items" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 200 - items.json: "a schema given for items" - "ignores non-arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 201 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 202 - items.json: "an array of schemas for items" - "correct types" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 203 - items.json: "an array of schemas for items" - "wrong types" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/type" 506s # }, 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/items/1/type" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/type" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 204 - items.json: "an array of schemas for items" - "incomplete array of items" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 205 - items.json: "an array of schemas for items" - "array with additional items" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 206 - items.json: "an array of schemas for items" - "empty array" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 207 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 208 - items.json: "items and subitems" - "valid items" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 209 - items.json: "items and subitems" - "too many items" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/3", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/3", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 210 - items.json: "items and subitems" - "too many sub-items" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/0/2", 506s # "keywordLocation": "/items/0/$ref/additionalItems" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/$ref/additionalItems" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/0/2", 506s # "keywordLocation": "/items/0/$ref/additionalItems" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/$ref/additionalItems" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 211 - items.json: "items and subitems" - "wrong item" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/type", 506s # "error": "got object, not array", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/$ref/type" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/type", 506s # "error": "got object, not array", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/$ref/type" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 212 - items.json: "items and subitems" - "wrong sub-item" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/items", 506s # "error": "not all items are valid", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/$ref/items" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/definitions/item/items", 506s # "error": "not all items are valid", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/0/$ref/items" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 213 - items.json: "items and subitems" - "fewer items is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 214 - items.json: "nested items" - "valid nested array" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 215 - items.json: "nested items" - "nested array with invalid type" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/0/0/0/0", 506s # "keywordLocation": "/items/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/0/0", 506s # "keywordLocation": "/items/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/0/0/0/0", 506s # "keywordLocation": "/items/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/0/0", 506s # "keywordLocation": "/items/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 216 - items.json: "nested items" - "not deep enough" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/0/0/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/0/1/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/1", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/0/2/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/2", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/1/0/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/1/0", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/1/1/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/1/1", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/1/2/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/1/2", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "/0/0/0", 506s # "keywordLocation": "/items/items/items/type" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 217 - items.json: "items with null instance elements" - "allows null elements" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 218 - items.json: "array-form items with null instance elements" - "allows null elements" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 219 - maxItems.json: "maxItems validation" - "shorter is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 220 - maxItems.json: "maxItems validation" - "exact length is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 221 - maxItems.json: "maxItems validation" - "too long is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "array has more than 2 items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "array has more than 2 items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 222 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 223 - maxLength.json: "maxLength validation" - "shorter is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 224 - maxLength.json: "maxLength validation" - "exact length is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 225 - maxLength.json: "maxLength validation" - "too long is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "length is greater than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxLength" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "length is greater than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxLength" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 226 - maxLength.json: "maxLength validation" - "ignores non-strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 227 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 228 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 229 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 230 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object has more than 2 properties", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object has more than 2 properties", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 231 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 232 - maxProperties.json: "maxProperties validation" - "ignores strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 233 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 234 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 235 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object has more than 0 property", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object has more than 0 property", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maxProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 236 - maximum.json: "maximum validation" - "below the maximum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 237 - maximum.json: "maximum validation" - "boundary point is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 238 - maximum.json: "maximum validation" - "above the maximum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 239 - maximum.json: "maximum validation" - "ignores non-numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 240 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 241 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 242 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 243 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 300", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 300", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 244 - maximum.json: "maximum validation (explicit false exclusivity)" - "below the maximum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 245 - maximum.json: "maximum validation (explicit false exclusivity)" - "boundary point is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 246 - maximum.json: "maximum validation (explicit false exclusivity)" - "above the maximum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 247 - maximum.json: "maximum validation (explicit false exclusivity)" - "ignores non-numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 248 - maximum.json: "exclusiveMaximum validation" - "below the maximum is still valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 249 - maximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than or equal to 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than or equal to 3", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 250 - minItems.json: "minItems validation" - "longer is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 251 - minItems.json: "minItems validation" - "exact length is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 252 - minItems.json: "minItems validation" - "too short is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "array has fewer than 1 item", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "array has fewer than 1 item", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 253 - minItems.json: "minItems validation" - "ignores non-arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 254 - minLength.json: "minLength validation" - "longer is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 255 - minLength.json: "minLength validation" - "exact length is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 256 - minLength.json: "minLength validation" - "too short is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "length is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minLength" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "length is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minLength" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 257 - minLength.json: "minLength validation" - "ignores non-strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 258 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "length is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minLength" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "length is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minLength" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 259 - minProperties.json: "minProperties validation" - "longer is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 260 - minProperties.json: "minProperties validation" - "exact length is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 261 - minProperties.json: "minProperties validation" - "too short is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object has fewer than 1 property", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object has fewer than 1 property", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 262 - minProperties.json: "minProperties validation" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 263 - minProperties.json: "minProperties validation" - "ignores strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 264 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 265 - minimum.json: "minimum validation" - "above the minimum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 266 - minimum.json: "minimum validation" - "boundary point is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 267 - minimum.json: "minimum validation" - "below the minimum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than 1.1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than 1.1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 268 - minimum.json: "minimum validation" - "ignores non-numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 269 - minimum.json: "minimum validation (explicit false exclusivity)" - "above the minimum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 270 - minimum.json: "minimum validation (explicit false exclusivity)" - "boundary point is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 271 - minimum.json: "minimum validation (explicit false exclusivity)" - "below the minimum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than 1.1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than 1.1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 272 - minimum.json: "minimum validation (explicit false exclusivity)" - "ignores non-numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 273 - minimum.json: "exclusiveMinimum validation" - "above the minimum is still valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 274 - minimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than or equal to 1.1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than or equal to 1.1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 275 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 276 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 277 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 278 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 279 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than -2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than -2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 280 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than -2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than -2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 281 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 282 - multipleOf.json: "by int" - "int by int" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 283 - multipleOf.json: "by int" - "int by int fail" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 284 - multipleOf.json: "by int" - "ignores non-numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 285 - multipleOf.json: "by number" - "zero is multiple of anything" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 286 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 287 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 1.5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 1.5", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 288 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 289 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 0.0001", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is not a multiple of 0.0001", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 290 - multipleOf.json: "float division = inf" - "invalid, but naive implementations may raise an overflow error" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # }, 506s # { 506s # "error": "value is not a multiple of 0.123456789", 506s # "instanceLocation": "", 506s # "keywordLocation": "/multipleOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 291 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 292 - not.json: "not" - "allowed" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 293 - not.json: "not" - "disallowed" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 294 - not.json: "not multiple types" - "valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 295 - not.json: "not multiple types" - "mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 296 - not.json: "not multiple types" - "other mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 297 - not.json: "not more complex schema" - "match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 298 - not.json: "not more complex schema" - "other match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 299 - not.json: "not more complex schema" - "mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 300 - not.json: "forbidden property" - "property present" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/not" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/not" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 301 - not.json: "forbidden property" - "property absent" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 302 - not.json: "forbid everything with empty schema" - "number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 303 - not.json: "forbid everything with empty schema" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 304 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 305 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 306 - not.json: "forbid everything with empty schema" - "null is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 307 - not.json: "forbid everything with empty schema" - "object is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 308 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 309 - not.json: "forbid everything with empty schema" - "array is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 310 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "subschema is valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/not" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 311 - not.json: "double negation" - "any value is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 312 - oneOf.json: "oneOf" - "first oneOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 313 - oneOf.json: "oneOf" - "second oneOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 314 - oneOf.json: "oneOf" - "both oneOf valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 315 - oneOf.json: "oneOf" - "neither oneOf valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/type" 506s # }, 506s # { 506s # "error": "value is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/minimum" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/type" 506s # }, 506s # { 506s # "error": "value is less than 2", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/minimum" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 316 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # }, 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 317 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 318 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 319 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 320 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 321 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 322 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/oneOf/0/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/properties" 506s # }, 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/oneOf/1/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/properties" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/oneOf/0/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/properties" 506s # }, 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/oneOf/1/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/properties" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 323 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 324 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 325 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/required" 506s # }, 506s # { 506s # "error": "object is missing properties: foo, baz", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/required" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/required" 506s # }, 506s # { 506s # "error": "object is missing properties: foo, baz", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/required" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 326 - oneOf.json: "oneOf with required" - "first valid - valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 327 - oneOf.json: "oneOf with required" - "second valid - valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 328 - oneOf.json: "oneOf with required" - "both valid - invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 329 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 330 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 331 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "multiple subschemas are valid: 0, 1", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 332 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/required" 506s # }, 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/required" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: bar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/required" 506s # }, 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/1/required" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 333 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 334 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/oneOf/0/type" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/oneOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/oneOf/0/type" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf/0/oneOf" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/oneOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 335 - pattern.json: "pattern validation" - "a matching pattern is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 336 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 337 - pattern.json: "pattern validation" - "ignores booleans" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 338 - pattern.json: "pattern validation" - "ignores integers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 339 - pattern.json: "pattern validation" - "ignores floats" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 340 - pattern.json: "pattern validation" - "ignores objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 341 - pattern.json: "pattern validation" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 342 - pattern.json: "pattern validation" - "ignores null" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 343 - pattern.json: "pattern is not anchored" - "matches a substring" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 344 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 345 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 346 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/patternProperties/f.*o/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/patternProperties/f.*o/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 347 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/patternProperties/f.*o/type" 506s # }, 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foooooo", 506s # "keywordLocation": "/patternProperties/f.*o/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/patternProperties/f.*o/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 348 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 349 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 350 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 351 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 352 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 353 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 354 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/a", 506s # "keywordLocation": "/patternProperties/a*/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/a", 506s # "keywordLocation": "/patternProperties/a*/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 355 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 20", 506s # "instanceLocation": "/aaaa", 506s # "keywordLocation": "/patternProperties/aaa*/maximum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than 20", 506s # "instanceLocation": "/aaaa", 506s # "keywordLocation": "/patternProperties/aaa*/maximum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 356 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/aaa", 506s # "keywordLocation": "/patternProperties/a*/type" 506s # }, 506s # { 506s # "error": "value is greater than 20", 506s # "instanceLocation": "/aaaa", 506s # "keywordLocation": "/patternProperties/aaa*/maximum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/aaa", 506s # "keywordLocation": "/patternProperties/a*/type" 506s # }, 506s # { 506s # "error": "value is greater than 20", 506s # "instanceLocation": "/aaaa", 506s # "keywordLocation": "/patternProperties/aaa*/maximum" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 357 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 358 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not boolean", 506s # "instanceLocation": "/a31b", 506s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not boolean", 506s # "instanceLocation": "/a31b", 506s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 359 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 360 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/a_X_3", 506s # "keywordLocation": "/patternProperties/X_/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/a_X_3", 506s # "keywordLocation": "/patternProperties/X_/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 361 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 362 - properties.json: "object properties validation" - "both properties present and valid is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 363 - properties.json: "object properties validation" - "one property invalid is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not string", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not string", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 364 - properties.json: "object properties validation" - "both properties invalid is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not string", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/type" 506s # }, 506s # { 506s # "error": "got array, not integer", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not string", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 365 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 366 - properties.json: "object properties validation" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 367 - properties.json: "object properties validation" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 368 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 369 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "array has more than 3 items", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/maxItems" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "array has more than 3 items", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/maxItems" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 370 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "array has fewer than 2 items", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/patternProperties/f.o/minItems" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "array has fewer than 2 items", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/patternProperties/f.o/minItems" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 371 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 372 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "array has fewer than 2 items", 506s # "instanceLocation": "/fxo", 506s # "keywordLocation": "/patternProperties/f.o/minItems" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "array has fewer than 2 items", 506s # "instanceLocation": "/fxo", 506s # "keywordLocation": "/patternProperties/f.o/minItems" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 373 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 374 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 375 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/quux", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/quux", 506s # "keywordLocation": "/additionalProperties/type" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 376 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 377 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\tbar", 506s # "keywordLocation": "/properties/foo\tbar/type" 506s # }, 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\nbar", 506s # "keywordLocation": "/properties/foo\nbar/type" 506s # }, 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\fbar", 506s # "keywordLocation": "/properties/foo\fbar/type" 506s # }, 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\rbar", 506s # "keywordLocation": "/properties/foo\rbar/type" 506s # }, 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\"bar", 506s # "keywordLocation": "/properties/foo\"bar/type" 506s # }, 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\\bar", 506s # "keywordLocation": "/properties/foo\\bar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\tbar", 506s # "keywordLocation": "/properties/foo\tbar/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 378 - properties.json: "properties with null valued instance properties" - "allows null values" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 379 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 380 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 381 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 382 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/__proto__", 506s # "keywordLocation": "/properties/__proto__/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "/__proto__", 506s # "keywordLocation": "/properties/__proto__/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 383 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/toString/length", 506s # "keywordLocation": "/properties/toString/properties/length/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/toString", 506s # "keywordLocation": "/properties/toString/properties" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/toString/length", 506s # "keywordLocation": "/properties/toString/properties/length/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/toString", 506s # "keywordLocation": "/properties/toString/properties" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 384 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not number", 506s # "instanceLocation": "/constructor", 506s # "keywordLocation": "/properties/constructor/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not number", 506s # "instanceLocation": "/constructor", 506s # "keywordLocation": "/properties/constructor/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 385 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 386 - ref.json: "root pointer ref" - "match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 387 - ref.json: "root pointer ref" - "recursive match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 388 - ref.json: "root pointer ref" - "mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 389 - ref.json: "root pointer ref" - "recursive mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/additionalProperties", 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/foo/bar", 506s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/additionalProperties", 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/additionalProperties", 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/foo/bar", 506s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "#/additionalProperties", 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 390 - ref.json: "relative pointer ref to object" - "match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 391 - ref.json: "relative pointer ref to object" - "mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/properties/foo/type", 506s # "error": "got boolean, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/properties/foo/type", 506s # "error": "got boolean, not integer", 506s # "instanceLocation": "/bar", 506s # "keywordLocation": "/properties/bar/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 392 - ref.json: "relative pointer ref to array" - "match array" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 393 - ref.json: "relative pointer ref to array" - "mismatch array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/items/0/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/items/1/$ref/type" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/items/0/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/1", 506s # "keywordLocation": "/items/1/$ref/type" 506s # }, 506s # { 506s # "error": "not all items are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 394 - ref.json: "escaped pointer ref" - "slash invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/slash", 506s # "keywordLocation": "/properties/slash/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/slash", 506s # "keywordLocation": "/properties/slash/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 395 - ref.json: "escaped pointer ref" - "tilde invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/tilde", 506s # "keywordLocation": "/properties/tilde/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/tilde", 506s # "keywordLocation": "/properties/tilde/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 396 - ref.json: "escaped pointer ref" - "percent invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/percent", 506s # "keywordLocation": "/properties/percent/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/percent", 506s # "keywordLocation": "/properties/percent/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 397 - ref.json: "escaped pointer ref" - "slash valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 398 - ref.json: "escaped pointer ref" - "tilde valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 399 - ref.json: "escaped pointer ref" - "percent valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 400 - ref.json: "nested refs" - "nested ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 401 - ref.json: "nested refs" - "nested ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/a/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/a/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 402 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 403 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 404 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/reffed/type", 506s # "error": "got string, not array", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/reffed/type", 506s # "error": "got string, not array", 506s # "instanceLocation": "/foo", 506s # "keywordLocation": "/properties/foo/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 405 - ref.json: "$ref prevents a sibling id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 406 - ref.json: "$ref prevents a sibling id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 407 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 408 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger/minimum", 506s # "error": "value is less than 0", 506s # "instanceLocation": "/minLength", 506s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "/minLength", 506s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger/minimum", 506s # "error": "value is less than 0", 506s # "instanceLocation": "/minLength", 506s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "/minLength", 506s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 409 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 410 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/$ref", 506s # "keywordLocation": "/properties/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not string", 506s # "instanceLocation": "/$ref", 506s # "keywordLocation": "/properties/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 411 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 412 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/is-string/type", 506s # "error": "got integer, not string", 506s # "instanceLocation": "/$ref", 506s # "keywordLocation": "/properties/$ref/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/is-string/type", 506s # "error": "got integer, not string", 506s # "instanceLocation": "/$ref", 506s # "keywordLocation": "/properties/$ref/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 413 - ref.json: "Recursive references between schemas" - "valid tree" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 414 - ref.json: "Recursive references between schemas" - "invalid tree" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/nodes/0/subtree/nodes/0", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/nodes/0/subtree/nodes", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/nodes/0/subtree", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/nodes/0", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/nodes", 506s # "keywordLocation": "/properties/nodes/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/nodes/0/subtree/nodes/0", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/nodes/0/subtree/nodes", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/nodes/0/subtree", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "/nodes/0", 506s # "keywordLocation": "/properties/nodes/items/$ref/properties" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/nodes", 506s # "keywordLocation": "/properties/nodes/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 415 - ref.json: "refs with quote" - "object with numbers is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 416 - ref.json: "refs with quote" - "object with strings is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\"bar", 506s # "keywordLocation": "/properties/foo\"bar/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "/foo\"bar", 506s # "keywordLocation": "/properties/foo\"bar/$ref/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 417 - ref.json: "Location-independent identifier" - "match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 418 - ref.json: "Location-independent identifier" - "mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/A/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/A/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 419 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 420 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s 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" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/enum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 422 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 423 - ref.json: "id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 424 - ref.json: "id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 425 - ref.json: "id with file URI still resolves pointers - *nix" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 426 - ref.json: "id with file URI still resolves pointers - *nix" - "non-number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 427 - ref.json: "id with file URI still resolves pointers - windows" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 428 - ref.json: "id with file URI still resolves pointers - windows" - "non-number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 429 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 430 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions//definitions//type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions//definitions//type", 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf/0/$ref/type" 506s # }, 506s # { 506s # "error": "subschema 0 is not valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/allOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 431 - refRemote.json: "remote ref" - "remote ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 432 - refRemote.json: "remote ref" - "remote ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 433 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 434 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 435 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 436 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 437 - refRemote.json: "base URI change" - "base URI change ref valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 438 - refRemote.json: "base URI change" - "base URI change ref invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/items/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/0/0", 506s # "keywordLocation": "/items/items/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/0", 506s # "keywordLocation": "/items/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/items" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 439 - refRemote.json: "base URI change - change folder" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 440 - refRemote.json: "base URI change - change folder" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/list/0", 506s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/list", 506s # "keywordLocation": "/properties/list/$ref/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/list/0", 506s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/list", 506s # "keywordLocation": "/properties/list/$ref/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 441 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 442 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/list/0", 506s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/list", 506s # "keywordLocation": "/properties/list/$ref/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "/list/0", 506s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 506s # "error": "subschema is not valid against all items", 506s # "instanceLocation": "/list", 506s # "keywordLocation": "/properties/list/$ref/items" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 443 - refRemote.json: "root ref in remote ref" - "string is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 444 - refRemote.json: "root ref in remote ref" - "null is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 445 - refRemote.json: "root ref in remote ref" - "object is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 506s # "error": "got object, not null", 506s # "instanceLocation": "/name", 506s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 506s # "error": "got object, not string", 506s # "instanceLocation": "/name", 506s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "/name", 506s # "keywordLocation": "/properties/name/$ref/anyOf" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 506s # "error": "got object, not null", 506s # "instanceLocation": "/name", 506s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 506s # "error": "got object, not string", 506s # "instanceLocation": "/name", 506s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "/name", 506s # "keywordLocation": "/properties/name/$ref/anyOf" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/properties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 446 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { # TODO Test marked TODO via "todo_tests" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true # 506s 1..1 506s } 506s ok 447 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/A/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/A/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/$ref/$ref/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 448 - required.json: "required validation" - "present required property is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 449 - required.json: "required validation" - "non-present required property is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing property: foo", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 450 - required.json: "required validation" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 451 - required.json: "required validation" - "ignores strings" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 452 - required.json: "required validation" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 453 - required.json: "required default validation" - "not required by default" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 454 - required.json: "required with escaped characters" - "object with all properties present is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 455 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 456 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 457 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 458 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: __proto__, toString, constructor", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: __proto__, toString, constructor", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 459 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: toString, constructor", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: toString, constructor", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 460 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: __proto__, constructor", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: __proto__, constructor", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 461 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: __proto__, toString", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "object is missing properties: __proto__, toString", 506s # "instanceLocation": "", 506s # "keywordLocation": "/required" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 462 - required.json: "required properties whose names are Javascript object property names" - "all present" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 463 - type.json: "integer type matches integers" - "an integer is an integer" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 464 - type.json: "integer type matches integers" - "a float is not an integer" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 465 - type.json: "integer type matches integers" - "a string is not an integer" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 466 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got string, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 467 - type.json: "integer type matches integers" - "an object is not an integer" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got object, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got object, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 468 - type.json: "integer type matches integers" - "an array is not an integer" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got array, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got array, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 469 - type.json: "integer type matches integers" - "a boolean is not an integer" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got boolean, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got boolean, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 470 - type.json: "integer type matches integers" - "null is not an integer" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got null, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got null, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 471 - type.json: "number type matches numbers" - "an integer is a number" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 472 - type.json: "number type matches numbers" - "a float with zero fractional part is a number" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 473 - type.json: "number type matches numbers" - "a float is a number" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 474 - type.json: "number type matches numbers" - "a string is not a number" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 475 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 476 - type.json: "number type matches numbers" - "an object is not a number" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 477 - type.json: "number type matches numbers" - "an array is not a number" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 478 - type.json: "number type matches numbers" - "a boolean is not a number" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 479 - type.json: "number type matches numbers" - "null is not a number" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not number", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 480 - type.json: "string type matches strings" - "1 is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 481 - type.json: "string type matches strings" - "a float is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got number, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got number, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 482 - type.json: "string type matches strings" - "a string is a string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 483 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 484 - type.json: "string type matches strings" - "an empty string is still a string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 485 - type.json: "string type matches strings" - "an object is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got object, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got object, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 486 - type.json: "string type matches strings" - "an array is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got array, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got array, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 487 - type.json: "string type matches strings" - "a boolean is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got boolean, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got boolean, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 488 - type.json: "string type matches strings" - "null is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got null, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got null, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 489 - type.json: "object type matches objects" - "an integer is not an object" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 490 - type.json: "object type matches objects" - "a float is not an object" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 491 - type.json: "object type matches objects" - "a string is not an object" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 492 - type.json: "object type matches objects" - "an object is an object" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 493 - type.json: "object type matches objects" - "an array is not an object" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 494 - type.json: "object type matches objects" - "a boolean is not an object" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 495 - type.json: "object type matches objects" - "null is not an object" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 496 - type.json: "array type matches arrays" - "an integer is not an array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 497 - type.json: "array type matches arrays" - "a float is not an array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 498 - type.json: "array type matches arrays" - "a string is not an array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 499 - type.json: "array type matches arrays" - "an object is not an array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 500 - type.json: "array type matches arrays" - "an array is an array" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 501 - type.json: "array type matches arrays" - "a boolean is not an array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 502 - type.json: "array type matches arrays" - "null is not an array" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not array", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 503 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 504 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 505 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 506 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 507 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 508 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 509 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 510 - type.json: "boolean type matches booleans" - "true is a boolean" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 511 - type.json: "boolean type matches booleans" - "false is a boolean" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 512 - type.json: "boolean type matches booleans" - "null is not a boolean" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not boolean", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 513 - type.json: "null type matches only the null object" - "an integer is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 514 - type.json: "null type matches only the null object" - "a float is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 515 - type.json: "null type matches only the null object" - "zero is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 516 - type.json: "null type matches only the null object" - "a string is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 517 - type.json: "null type matches only the null object" - "an empty string is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 518 - type.json: "null type matches only the null object" - "an object is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 519 - type.json: "null type matches only the null object" - "an array is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 520 - type.json: "null type matches only the null object" - "true is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 521 - type.json: "null type matches only the null object" - "false is not null" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 522 - type.json: "null type matches only the null object" - "null is null" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 523 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 524 - type.json: "multiple types can be specified in an array" - "a string is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 525 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got number, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 526 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got object, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 527 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got array, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 528 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got boolean, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 529 - type.json: "multiple types can be specified in an array" - "null is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not one of integer, string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 530 - type.json: "type as array with one item" - "string is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 531 - type.json: "type as array with one item" - "number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not one of string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not one of string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 532 - type.json: "type: array or object" - "array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 533 - type.json: "type: array or object" - "object is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 534 - type.json: "type: array or object" - "number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not one of array, object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not one of array, object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 535 - type.json: "type: array or object" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not one of array, object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not one of array, object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 536 - type.json: "type: array or object" - "null is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not one of array, object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got null, not one of array, object", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 537 - type.json: "type: array, object or null" - "array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 538 - type.json: "type: array, object or null" - "object is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 539 - type.json: "type: array, object or null" - "null is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 540 - type.json: "type: array, object or null" - "number is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not one of array, object, null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got integer, not one of array, object, null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 541 - type.json: "type: array, object or null" - "string is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not one of array, object, null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not one of array, object, null", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 542 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 543 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 544 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 2 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 2 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 545 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 546 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 547 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 548 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 549 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 2 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 2 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 550 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 551 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 552 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 553 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 554 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 555 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 556 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 557 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 2 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 2 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 558 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 559 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 560 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 561 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 562 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 563 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 564 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 565 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 4 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 4 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 566 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 567 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 568 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 569 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 570 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 571 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 572 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 573 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 574 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 575 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 576 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 2 and 3 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 2 and 3 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 577 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 2 and 3 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 2 and 3 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 578 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 579 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 580 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 581 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "items at indices 0 and 1 are not unique", 506s # "instanceLocation": "", 506s # "keywordLocation": "/uniqueItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 582 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/2", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/2", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 583 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 584 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 585 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 586 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 587 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 588 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 589 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 590 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 591 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 592 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 593 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 594 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 595 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 596 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 597 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 598 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 599 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 600 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 601 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 602 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 603 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 604 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 605 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 606 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 607 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 608 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 609 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 610 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/2", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional item not permitted", 506s # "instanceLocation": "/2", 506s # "keywordLocation": "/additionalItems" 506s # }, 506s # { 506s # "error": "subschema is not valid against all additional items", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalItems" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 611 - optional/bignum.json: "integer" - "a bignum is an integer" { # TODO Test marked TODO via "todo_tests" 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected true; got false 506s # data: "12345678910111213141516171819202122232425262728293031" 506s # schema: "{\"type\":\"integer\"}" 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s 1..1 506s } 506s ok 612 - optional/bignum.json: "integer" - "a negative bignum is an integer" { # TODO Test marked TODO via "todo_tests" 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected true; got false 506s # data: "-12345678910111213141516171819202122232425262728293031" 506s # schema: "{\"type\":\"integer\"}" 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s 1..1 506s } 506s ok 613 - optional/bignum.json: "number" - "a bignum is a number" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 614 - optional/bignum.json: "number" - "a negative bignum is a number" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 615 - optional/bignum.json: "string" - "a bignum is not a string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got number, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 506s # "error": "got number, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 616 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 617 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 506s # "instanceLocation": "", 506s # "keywordLocation": "/maximum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 618 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 619 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 506s # "instanceLocation": "", 506s # "keywordLocation": "/minimum" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 620 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 621 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 622 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 623 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 624 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 625 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 626 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 627 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 628 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true # 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "\"߀\"" 506s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "\"߀\"" 506s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s 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" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false # 506s 1..1 506s } 506s 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" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected true; got false 506s # data: "\"߀\"" 506s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s 1..1 506s } 506s 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" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected true; got false 506s # data: "\"߀\"" 506s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s 1..1 506s } 506s ok 634 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true # 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "\"é\"" 506s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s 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" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false # 506s 1..1 506s } 506s 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" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected true; got false 506s # data: "\"é\"" 506s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s 1..1 506s } 506s ok 638 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 639 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 640 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 641 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 642 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 643 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected true; got false 506s # data: "\"\"" 506s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s 1..1 506s } 506s ok 644 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 645 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 646 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 647 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 648 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 649 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 650 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 651 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 652 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 653 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "\"\"" 506s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s ok 655 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 656 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 657 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 658 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 659 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 660 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 661 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 662 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 663 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 664 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # 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.\"" 506s # schema: "{\"pattern\":\"\\\\wcole\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # 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.\"" 506s # schema: "{\"pattern\":\"\\\\wcole\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s ok 667 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 668 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 669 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 670 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 671 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 672 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "\"৪২\"" 506s # schema: "{\"pattern\":\"^\\\\d+$\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s ok 674 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 675 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 676 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 677 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 678 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 679 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 680 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/L'ÉCOLE", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/L'ÉCOLE", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 681 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "{\"l'école\":\"pas de vraie vie\"}" 506s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":{}},\"type\":\"object\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "{\"l'école\":\"pas de vraie vie\"}" 506s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":{}},\"type\":\"object\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s ok 684 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/L'ÉCOLE", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/L'ÉCOLE", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 685 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/l'école", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/l'école", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 686 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/l'école", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/l'école", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 687 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 688 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 689 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/-%#", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/-%#", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s 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" 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s not ok 1 - evaluation result is incorrect # 506s # Failed test (with amnesty) 'evaluation result is incorrect' 506s # at t/zzz-acceptance-draft4.t line 49. 506s # expected false; got true 506s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 506s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":{}},\"type\":\"object\"}" 506s # result: { 506s # "valid": true 506s # } 506s 1..1 506s } 506s ok 691 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 692 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/-%#", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "additional property not permitted", 506s # "instanceLocation": "/-%#", 506s # "keywordLocation": "/additionalProperties" 506s # }, 506s # { 506s # "error": "not all additional properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/additionalProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 693 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 694 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s # 506s ok 695 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 696 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 697 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/$ref/enum" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "https://localhost:1234/my_identifier.json#/type", 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/$ref/type" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 506s # "error": "value does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/0/$ref/enum" 506s # }, 506s # { 506s # "absoluteKeywordLocation": "https://localhost:1234/my_identifier.json#/type", 506s # "error": "got integer, not string", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf/1/$ref/type" 506s # }, 506s # { 506s # "error": "no subschemas are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/anyOf" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s ok 698 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 699 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 700 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 701 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 702 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 703 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 704 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "pattern does not match", 506s # "instanceLocation": "", 506s # "keywordLocation": "/pattern" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 705 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 706 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 707 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 506s # result: { 506s # "valid": true 506s # } 506s # short-circuited result: { 506s # "valid": true 506s # } 506s ok 1 - test passes: data is valid: true 506s 1..1 506s } 506s ok 708 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/🐲", 506s # "keywordLocation": "/patternProperties/^🐲*$/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/🐲", 506s # "keywordLocation": "/patternProperties/^🐲*$/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s ok 709 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 506s # result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/🐲🐲", 506s # "keywordLocation": "/patternProperties/^🐲*$/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "error": "got string, not integer", 506s # "instanceLocation": "/🐲🐲", 506s # "keywordLocation": "/patternProperties/^🐲*$/type" 506s # }, 506s # { 506s # "error": "not all properties are valid", 506s # "instanceLocation": "", 506s # "keywordLocation": "/patternProperties" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s 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" { 506s # result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s # short-circuited result: { 506s # "errors": [ 506s # { 506s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 506s # "error": "got number, not integer", 506s # "instanceLocation": "", 506s # "keywordLocation": "/type" 506s # } 506s # ], 506s # "valid": false 506s # } 506s ok 1 - test passes: data is valid: false 506s 1..1 506s } 506s # 506s # 506s # generated with: Test::JSON::Schema::Acceptance 1.026 506s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 506s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 506s # specification version: draft4 506s # optional tests included: yes 506s # skipping directory: optional/format 506s # 506s # filename pass todo-fail fail 506s # --------------------------------------------------------------- 506s # additionalItems.json 18 0 0 506s # additionalProperties.json 16 0 0 506s # allOf.json 27 0 0 506s # anyOf.json 15 0 0 506s # default.json 7 0 0 506s # definitions.json 2 0 0 506s # dependencies.json 29 0 0 506s # enum.json 45 0 0 506s # format.json 36 0 0 506s # infinite-loop-detection.json 2 0 0 506s # items.json 21 0 0 506s # maxItems.json 4 0 0 506s # maxLength.json 5 0 0 506s # maxProperties.json 8 0 0 506s # maximum.json 14 0 0 506s # minItems.json 4 0 0 506s # minLength.json 5 0 0 506s # minProperties.json 6 0 0 506s # minimum.json 17 0 0 506s # multipleOf.json 10 0 0 506s # not.json 20 0 0 506s # oneOf.json 23 0 0 506s # pattern.json 9 0 0 506s # patternProperties.json 18 0 0 506s # properties.json 24 0 0 506s # ref.json 45 0 0 506s # refRemote.json 17 0 0 506s # required.json 15 0 0 506s # type.json 79 0 0 506s # uniqueItems.json 69 0 0 506s # optional/bignum.json 7 2 0 506s # optional/ecmascript-regex.json 60 14 0 506s # optional/float-overflow.json 1 0 0 506s # optional/id.json 3 0 0 506s # optional/non-bmp-regex.json 12 0 0 506s # optional/zeroTerminatedFloats.json 1 0 0 506s # --------------------------------------------------------------- 506s # TOTAL 694 16 0 506s # 506s # Congratulations, all non-optional tests are passing! 506s # 506s ok 711 - no leaks in the main evaluator object 506s ok 712 - no leaks in the short-circuiting evaluator object 506s 1..712 506s ok 508s t/zzz-acceptance-draft6-format.t ........ 508s # AUTHOR_TESTING: 508s # AUTOMATED_TESTING: 1 508s # EXTENDED_TESTING: 508s # NO_TODO: 508s # TEST_DIR: 508s # NO_SHORT_CIRCUIT: 508s # 508s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft6/optional/format against draft6... 508s # 508s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid date-time", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s # 508s ok 26 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 27 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 28 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 29 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 30 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 31 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 32 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 33 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 34 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 35 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 36 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 37 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 38 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 39 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 40 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid email", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s # 508s ok 41 - hostname.json: "validation of host names" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 42 - hostname.json: "validation of host names" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 43 - hostname.json: "validation of host names" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 44 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 45 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 46 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 47 - hostname.json: "validation of host names" - "a valid host name" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 48 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 49 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 50 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 51 - hostname.json: "validation of host names" - "a host name with a component too long" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 52 - hostname.json: "validation of host names" - "starts with hyphen" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 53 - hostname.json: "validation of host names" - "ends with hyphen" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 54 - hostname.json: "validation of host names" - "starts with underscore" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 55 - hostname.json: "validation of host names" - "ends with underscore" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 56 - hostname.json: "validation of host names" - "contains underscore" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 57 - hostname.json: "validation of host names" - "maximum label length" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 58 - hostname.json: "validation of host names" - "exceeds maximum label length" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 59 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s not ok 1 - evaluation result is incorrect # 508s # Failed test (with amnesty) 'evaluation result is incorrect' 508s # at t/zzz-acceptance-draft6-format.t line 66. 508s # expected true; got false 508s # data: "\"hostname\"" 508s # schema: "{\"format\":\"hostname\"}" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s 1..1 508s } 508s ok 60 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s not ok 1 - evaluation result is incorrect # 508s # Failed test (with amnesty) 'evaluation result is incorrect' 508s # at t/zzz-acceptance-draft6-format.t line 66. 508s # expected true; got false 508s # data: "\"host-name\"" 508s # schema: "{\"format\":\"hostname\"}" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s 1..1 508s } 508s ok 61 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s not ok 1 - evaluation result is incorrect # 508s # Failed test (with amnesty) 'evaluation result is incorrect' 508s # at t/zzz-acceptance-draft6-format.t line 66. 508s # expected true; got false 508s # data: "\"h0stn4me\"" 508s # schema: "{\"format\":\"hostname\"}" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s 1..1 508s } 508s ok 62 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s not ok 1 - evaluation result is incorrect # 508s # Failed test (with amnesty) 'evaluation result is incorrect' 508s # at t/zzz-acceptance-draft6-format.t line 66. 508s # expected true; got false 508s # data: "\"hostnam3\"" 508s # schema: "{\"format\":\"hostname\"}" 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid hostname", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s 1..1 508s } 508s # 508s ok 63 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 64 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 65 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 66 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 67 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 68 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 69 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 70 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 71 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 72 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 73 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 74 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 75 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 76 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 77 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 78 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv4", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s # 508s ok 79 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 80 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 81 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 82 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 83 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 84 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 85 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 86 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 87 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 88 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 89 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 90 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 91 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 92 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 93 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 94 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 95 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 96 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 97 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 98 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 99 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 100 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 101 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 102 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 103 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 104 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 105 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 106 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 107 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 108 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 109 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 110 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 111 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 112 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 113 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 114 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 115 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 116 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 117 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 118 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid ipv6", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s # 508s ok 119 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 120 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 121 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 122 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 123 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 124 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 125 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 126 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 127 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 128 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 129 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 130 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 131 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 132 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 133 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 134 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 135 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 136 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 137 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 138 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 139 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 140 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 141 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 142 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 143 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 144 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 145 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 146 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 147 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 148 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 149 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 150 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 151 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 152 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 153 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 154 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 155 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 156 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid json-pointer", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s # 508s ok 157 - unknown.json: "unknown format" - "unknown formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 158 - unknown.json: "unknown format" - "unknown formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 159 - unknown.json: "unknown format" - "unknown formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 160 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 161 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 162 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 163 - unknown.json: "unknown format" - "unknown formats ignore strings" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s # 508s ok 164 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 165 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 166 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 167 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 168 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 169 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 170 - uri-reference.json: "validation of URI References" - "a valid URI" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 171 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 172 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 173 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri-reference", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri-reference", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 174 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 175 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 176 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri-reference", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri-reference", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s # 508s ok 177 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 178 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 179 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 180 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 181 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 182 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 183 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 184 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s not ok 1 - evaluation result is incorrect # 508s # Failed test (with amnesty) 'evaluation result is incorrect' 508s # at t/zzz-acceptance-draft6-format.t line 66. 508s # expected false; got true 508s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 508s # schema: "{\"format\":\"uri-template\"}" 508s # result: { 508s # "valid": true 508s # } 508s 1..1 508s } 508s ok 185 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s ok 186 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true # 508s 1..1 508s } 508s # 508s ok 187 - uri.json: "validation of URIs" - "all string formats ignore integers" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 188 - uri.json: "validation of URIs" - "all string formats ignore floats" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 189 - uri.json: "validation of URIs" - "all string formats ignore objects" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 190 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 191 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 192 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 193 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 194 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 195 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 196 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 197 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 198 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 199 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 200 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 201 - uri.json: "validation of URIs" - "a valid URL " { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 202 - uri.json: "validation of URIs" - "a valid mailto URI" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 203 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 204 - uri.json: "validation of URIs" - "a valid tel URI" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 205 - uri.json: "validation of URIs" - "a valid URN" { 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s ok 1 - test passes: data is valid: true 508s 1..1 508s } 508s ok 206 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 207 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 208 - uri.json: "validation of URIs" - "an invalid URI" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 209 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 210 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 211 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 508s # result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s # short-circuited result: { 508s # "errors": [ 508s # { 508s # "error": "not a valid uri", 508s # "instanceLocation": "", 508s # "keywordLocation": "/format" 508s # } 508s # ], 508s # "valid": false 508s # } 508s ok 1 - test passes: data is valid: false 508s 1..1 508s } 508s ok 212 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 508s # result: { 508s # "valid": true 508s # } 508s # short-circuited result: { 508s # "valid": true 508s # } 508s not ok 1 - evaluation result is incorrect # 508s # Failed test (with amnesty) 'evaluation result is incorrect' 508s # at t/zzz-acceptance-draft6-format.t line 66. 508s # expected false; got true 508s # data: "\"bar,baz:foo\"" 508s # schema: "{\"format\":\"uri\"}" 508s # result: { 508s # "valid": true 508s # } 508s 1..1 508s } 508s # 508s # 508s # generated with: Test::JSON::Schema::Acceptance 1.026 508s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 508s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 508s # specification version: draft6 508s # using custom test directory: /optional/format 508s # optional tests included: yes 508s # 508s # filename pass todo-fail fail 508s # --------------------------------------------------------------- 508s # date-time.json 25 0 0 508s # email.json 15 0 0 508s # hostname.json 18 4 0 508s # ipv4.json 16 0 0 508s # ipv6.json 40 0 0 508s # json-pointer.json 38 0 0 508s # unknown.json 7 0 0 508s # uri-reference.json 13 0 0 508s # uri-template.json 9 1 0 508s # uri.json 25 1 0 508s # --------------------------------------------------------------- 508s # TOTAL 206 6 0 508s # 508s # Congratulations, all non-optional tests are passing! 508s # 508s ok 213 - no leaks in the main evaluator object 508s ok 214 - no leaks in the short-circuiting evaluator object 508s 1..214 508s ok 515s t/zzz-acceptance-draft6.t ............... 515s # AUTHOR_TESTING: 515s # AUTOMATED_TESTING: 1 515s # EXTENDED_TESTING: 515s # NO_TODO: 515s # TEST_DIR: 515s # NO_SHORT_CIRCUIT: 515s # 515s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 515s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft6 against draft6... 515s # 515s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/additionalItems/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/additionalItems/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/type" 515s # }, 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not boolean", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/additionalItems/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not boolean", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/additionalItems/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/additionalItems/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/additionalItems/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/quux", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/quux", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/élmény", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/élmény", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "/quux", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "/quux", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 37 - allOf.json: "allOf" - "allOf" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 38 - allOf.json: "allOf" - "mismatch second" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/required" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/required" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 39 - allOf.json: "allOf" - "mismatch first" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/required" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/required" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 40 - allOf.json: "allOf" - "wrong type" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/properties" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/properties" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 41 - allOf.json: "allOf with base schema" - "valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 42 - allOf.json: "allOf with base schema" - "mismatch base schema" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 43 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/required" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/required" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 44 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: baz", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/required" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: baz", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/required" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 45 - allOf.json: "allOf with base schema" - "mismatch both" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/required" 515s # }, 515s # { 515s # "error": "object is missing property: baz", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/required" 515s # }, 515s # { 515s # "error": "subschemas 0, 1 are not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/required" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 46 - allOf.json: "allOf simple types" - "valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 47 - allOf.json: "allOf simple types" - "mismatch one" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 30", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/maximum" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 30", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/maximum" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 48 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 49 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 50 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1" 515s # }, 515s # { 515s # "error": "subschemas 0, 1 are not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 51 - allOf.json: "allOf with one empty schema" - "any data is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 52 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 53 - allOf.json: "allOf with the first empty schema" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 54 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/type" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/type" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 55 - allOf.json: "allOf with the last empty schema" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 56 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 57 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 58 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/allOf/0/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/allOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/allOf/0/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/allOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 62 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 63 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/multipleOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 67 - anyOf.json: "anyOf" - "first anyOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 68 - anyOf.json: "anyOf" - "second anyOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 69 - anyOf.json: "anyOf" - "both anyOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 70 - anyOf.json: "anyOf" - "neither anyOf valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/type" 515s # }, 515s # { 515s # "error": "value is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/minimum" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/type" 515s # }, 515s # { 515s # "error": "value is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/minimum" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 71 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 72 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 73 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/maxLength" 515s # }, 515s # { 515s # "error": "length is less than 4", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/minLength" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/maxLength" 515s # }, 515s # { 515s # "error": "length is less than 4", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/minLength" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 74 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 75 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 76 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 77 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 78 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 79 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 80 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/anyOf/0/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/properties" 515s # }, 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/anyOf/1/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/properties" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/anyOf/0/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/properties" 515s # }, 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/anyOf/1/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/properties" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 81 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 82 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 83 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 84 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/anyOf/0/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/anyOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/anyOf/0/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/anyOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 85 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 86 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 87 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 88 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 89 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 90 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 91 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 92 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 93 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 94 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 95 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 96 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 97 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 98 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 99 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 100 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 101 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 102 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 103 - const.json: "const validation" - "same value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 104 - const.json: "const validation" - "another value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 105 - const.json: "const validation" - "another type is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 106 - const.json: "const with object" - "same object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 107 - const.json: "const with object" - "same object with different property order is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 108 - const.json: "const with object" - "another object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 109 - const.json: "const with object" - "another type is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 110 - const.json: "const with array" - "same array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 111 - const.json: "const with array" - "another array item is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs object)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs object)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 112 - const.json: "const with array" - "array with additional items is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 113 - const.json: "const with null" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 114 - const.json: "const with null" - "not null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 115 - const.json: "const with false does not match 0" - "false is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 116 - const.json: "const with false does not match 0" - "integer zero is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 117 - const.json: "const with false does not match 0" - "float zero is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 118 - const.json: "const with true does not match 1" - "true is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 119 - const.json: "const with true does not match 1" - "integer one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 120 - const.json: "const with true does not match 1" - "float one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 121 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 122 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 123 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 124 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 125 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 126 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 127 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 128 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 129 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 130 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 131 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 132 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 133 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 134 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 135 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 136 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 137 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 138 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 139 - const.json: "const with 1 does not match true" - "true is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 140 - const.json: "const with 1 does not match true" - "integer one is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 141 - const.json: "const with 1 does not match true" - "float one is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 142 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 143 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 144 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 145 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 146 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 147 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 148 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 149 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 150 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 151 - const.json: "nul characters in strings" - "match string with nul" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 152 - const.json: "nul characters in strings" - "do not match string lacking nul" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/const" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 153 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 154 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 155 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 156 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than 5", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/minimum" 515s # }, 515s # { 515s # "error": "value is less than 5", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/minimum" 515s # }, 515s # { 515s # "error": "value is less than 5", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/contains/minimum" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than 5", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/minimum" 515s # }, 515s # { 515s # "error": "value is less than 5", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/minimum" 515s # }, 515s # { 515s # "error": "value is less than 5", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/contains/minimum" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 157 - contains.json: "contains keyword validation" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 158 - contains.json: "contains keyword validation" - "not array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 159 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 160 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 161 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/contains/const" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 162 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 163 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 164 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 165 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 166 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 167 - contains.json: "items + contains" - "matches items, does not match contains" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 168 - contains.json: "items + contains" - "does not match items, matches contains" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/items/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 169 - contains.json: "items + contains" - "matches both items and contains" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 170 - contains.json: "items + contains" - "matches neither items nor contains" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "value is not a multiple of 3", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/contains/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against any item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/contains" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/multipleOf" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 171 - contains.json: "contains with null instance elements" - "allows null items" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 172 - default.json: "invalid type for default" - "valid when property is specified" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 173 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 174 - default.json: "invalid string value for default" - "valid when property is specified" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 175 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s 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)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s 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)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 3", 515s # "instanceLocation": "/alpha", 515s # "keywordLocation": "/properties/alpha/maximum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 3", 515s # "instanceLocation": "/alpha", 515s # "keywordLocation": "/properties/alpha/maximum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s 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" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 179 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 180 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/simpleTypes/enum", 515s # "error": "value does not match", 515s # "instanceLocation": "/definitions/foo/type", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf/1/type", 515s # "error": "got integer, not array", 515s # "instanceLocation": "/definitions/foo/type", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf", 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "/definitions/foo/type", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/definitions/foo", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/definitions/additionalProperties", 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "/definitions", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/simpleTypes/enum", 515s # "error": "value does not match", 515s # "instanceLocation": "/definitions/foo/type", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf/1/type", 515s # "error": "got integer, not array", 515s # "instanceLocation": "/definitions/foo/type", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf", 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "/definitions/foo/type", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/definitions/foo", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/definitions/additionalProperties", 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "/definitions", 515s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 181 - dependencies.json: "dependencies" - "neither" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 182 - dependencies.json: "dependencies" - "nondependant" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 183 - dependencies.json: "dependencies" - "with dependency" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 184 - dependencies.json: "dependencies" - "missing dependency" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 185 - dependencies.json: "dependencies" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 186 - dependencies.json: "dependencies" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 187 - dependencies.json: "dependencies" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 188 - dependencies.json: "dependencies with empty array" - "empty object" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 189 - dependencies.json: "dependencies with empty array" - "object with one property" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 190 - dependencies.json: "dependencies with empty array" - "non-object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 191 - dependencies.json: "multiple dependencies" - "neither" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 192 - dependencies.json: "multiple dependencies" - "nondependants" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 193 - dependencies.json: "multiple dependencies" - "with dependencies" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 194 - dependencies.json: "multiple dependencies" - "missing dependency" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/quux" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/quux" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 195 - dependencies.json: "multiple dependencies" - "missing other dependency" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/quux" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/quux" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 196 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: foo, bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/quux" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: foo, bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/quux" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 197 - dependencies.json: "multiple dependencies subschema" - "valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 198 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 199 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/bar/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar/properties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/bar/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar/properties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 200 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/dependencies/bar/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar/properties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/dependencies/bar/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar/properties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 201 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/dependencies/bar/properties/bar/type" 515s # }, 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/bar/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar/properties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/dependencies/bar/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar/properties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 202 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema true is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 203 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 204 - dependencies.json: "dependencies with boolean subschemas" - "object with both properties is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 205 - dependencies.json: "dependencies with boolean subschemas" - "empty object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 206 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 207 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 208 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 209 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo\rbar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo\nbar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo\rbar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo\nbar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 210 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object has fewer than 4 properties", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object has fewer than 4 properties", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 211 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo\"bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo'bar/required" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo\"bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo'bar/required" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 212 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo'bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo\"bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo'bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo\"bar" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 213 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 214 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 215 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies/foo/additionalProperties" 515s # }, 515s # { 515s # "error": "not all dependencies are satisfied", 515s # "instanceLocation": "", 515s # "keywordLocation": "/dependencies" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 216 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 217 - enum.json: "simple enum validation" - "one of the enum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 218 - enum.json: "simple enum validation" - "something else is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 219 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 220 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 221 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 515s # result: { 515s # "errors": [ 515s # { 515s # "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)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "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)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 222 - enum.json: "heterogeneous enum validation" - "valid object matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 223 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 224 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 225 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 226 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 227 - enum.json: "enums in properties" - "both properties are valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 228 - enum.json: "enums in properties" - "wrong foo value" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/enum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/enum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 229 - enum.json: "enums in properties" - "wrong bar value" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/enum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/enum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 230 - enum.json: "enums in properties" - "missing optional property is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 231 - enum.json: "enums in properties" - "missing required property is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 232 - enum.json: "enums in properties" - "missing all properties is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 233 - enum.json: "enum with escaped characters" - "member 1 is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 234 - enum.json: "enum with escaped characters" - "member 2 is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 235 - enum.json: "enum with escaped characters" - "another string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 236 - enum.json: "enum with false does not match 0" - "false is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 237 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 238 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 239 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 240 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 241 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 242 - enum.json: "enum with true does not match 1" - "true is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 243 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 244 - enum.json: "enum with true does not match 1" - "float one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 245 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 246 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 247 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 248 - enum.json: "enum with 0 does not match false" - "false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 249 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 250 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 251 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 252 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 253 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 254 - enum.json: "enum with 1 does not match true" - "true is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 255 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 256 - enum.json: "enum with 1 does not match true" - "float one is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 257 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 258 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 259 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 260 - enum.json: "nul characters in strings" - "match string with nul" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 261 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 262 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 263 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than or equal to 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMaximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than or equal to 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMaximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 264 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than or equal to 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMaximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than or equal to 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMaximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 265 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 266 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 267 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than or equal to 1.1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMinimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than or equal to 1.1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMinimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 268 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than or equal to 1.1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMinimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than or equal to 1.1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMinimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 269 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 270 - format.json: "email format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 271 - format.json: "email format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 272 - format.json: "email format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 273 - format.json: "email format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 274 - format.json: "email format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 275 - format.json: "email format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 276 - format.json: "ipv4 format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 277 - format.json: "ipv4 format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 278 - format.json: "ipv4 format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 279 - format.json: "ipv4 format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 280 - format.json: "ipv4 format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 281 - format.json: "ipv4 format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 282 - format.json: "ipv6 format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 283 - format.json: "ipv6 format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 284 - format.json: "ipv6 format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 285 - format.json: "ipv6 format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 286 - format.json: "ipv6 format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 287 - format.json: "ipv6 format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 288 - format.json: "hostname format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 289 - format.json: "hostname format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 290 - format.json: "hostname format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 291 - format.json: "hostname format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 292 - format.json: "hostname format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 293 - format.json: "hostname format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 294 - format.json: "date-time format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 295 - format.json: "date-time format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 296 - format.json: "date-time format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 297 - format.json: "date-time format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 298 - format.json: "date-time format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 299 - format.json: "date-time format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 300 - format.json: "json-pointer format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 301 - format.json: "json-pointer format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 302 - format.json: "json-pointer format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 303 - format.json: "json-pointer format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 304 - format.json: "json-pointer format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 305 - format.json: "json-pointer format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 306 - format.json: "uri format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 307 - format.json: "uri format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 308 - format.json: "uri format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 309 - format.json: "uri format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 310 - format.json: "uri format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 311 - format.json: "uri format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 312 - format.json: "uri-reference format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 313 - format.json: "uri-reference format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 314 - format.json: "uri-reference format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 315 - format.json: "uri-reference format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 316 - format.json: "uri-reference format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 317 - format.json: "uri-reference format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 318 - format.json: "uri-template format" - "all string formats ignore integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 319 - format.json: "uri-template format" - "all string formats ignore floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 320 - format.json: "uri-template format" - "all string formats ignore objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 321 - format.json: "uri-template format" - "all string formats ignore arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 322 - format.json: "uri-template format" - "all string formats ignore booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 323 - format.json: "uri-template format" - "all string formats ignore nulls" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s 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" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s 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" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/int/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/int/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/1/additionalProperties" 515s # }, 515s # { 515s # "error": "subschemas 0, 1 are not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/int/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/properties" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 326 - items.json: "a schema given for items" - "valid items" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 327 - items.json: "a schema given for items" - "wrong type of items" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 328 - items.json: "a schema given for items" - "ignores non-arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 329 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 330 - items.json: "an array of schemas for items" - "correct types" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 331 - items.json: "an array of schemas for items" - "wrong types" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/type" 515s # }, 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/1/type" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/type" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 332 - items.json: "an array of schemas for items" - "incomplete array of items" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 333 - items.json: "an array of schemas for items" - "array with additional items" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 334 - items.json: "an array of schemas for items" - "empty array" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 335 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 336 - items.json: "items with boolean schema (true)" - "any array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 337 - items.json: "items with boolean schema (true)" - "empty array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 338 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "item not permitted", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items" 515s # }, 515s # { 515s # "error": "item not permitted", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items" 515s # }, 515s # { 515s # "error": "item not permitted", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "item not permitted", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 339 - items.json: "items with boolean schema (false)" - "empty array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 340 - items.json: "items with boolean schemas" - "array with one item is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 341 - items.json: "items with boolean schemas" - "array with two items is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "item not permitted", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/1" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "item not permitted", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/1" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 342 - items.json: "items with boolean schemas" - "empty array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 343 - items.json: "items and subitems" - "valid items" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 344 - items.json: "items and subitems" - "too many items" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/3", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 345 - items.json: "items and subitems" - "too many sub-items" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/0/2", 515s # "keywordLocation": "/items/0/$ref/additionalItems" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/$ref/additionalItems" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/0/2", 515s # "keywordLocation": "/items/0/$ref/additionalItems" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/$ref/additionalItems" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 346 - items.json: "items and subitems" - "wrong item" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/type", 515s # "error": "got object, not array", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/$ref/type" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/type", 515s # "error": "got object, not array", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/$ref/type" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 347 - items.json: "items and subitems" - "wrong sub-item" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/items", 515s # "error": "not all items are valid", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/$ref/items" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/item/items", 515s # "error": "not all items are valid", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/0/$ref/items" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 348 - items.json: "items and subitems" - "fewer items is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 349 - items.json: "nested items" - "valid nested array" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 350 - items.json: "nested items" - "nested array with invalid type" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/0/0/0/0", 515s # "keywordLocation": "/items/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/0/0", 515s # "keywordLocation": "/items/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/0/0/0/0", 515s # "keywordLocation": "/items/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/0/0", 515s # "keywordLocation": "/items/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 351 - items.json: "nested items" - "not deep enough" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/0/0/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/0/1/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/1", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/0/2/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/2", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/1/0/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/1/0", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/1/1/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/1/1", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/1/2/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/1/2", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "/0/0/0", 515s # "keywordLocation": "/items/items/items/type" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 352 - items.json: "single-form items with null instance elements" - "allows null elements" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 353 - items.json: "array-form items with null instance elements" - "allows null elements" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 354 - maxItems.json: "maxItems validation" - "shorter is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 355 - maxItems.json: "maxItems validation" - "exact length is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 356 - maxItems.json: "maxItems validation" - "too long is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has more than 2 items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has more than 2 items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 357 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 358 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 359 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has more than 2 items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has more than 2 items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 360 - maxLength.json: "maxLength validation" - "shorter is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 361 - maxLength.json: "maxLength validation" - "exact length is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 362 - maxLength.json: "maxLength validation" - "too long is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 363 - maxLength.json: "maxLength validation" - "ignores non-strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 364 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 365 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 366 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 367 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 368 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 369 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object has more than 2 properties", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object has more than 2 properties", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 370 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 371 - maxProperties.json: "maxProperties validation" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 372 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 373 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 374 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object has more than 2 properties", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object has more than 2 properties", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 375 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 376 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object has more than 0 property", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object has more than 0 property", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maxProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 377 - maximum.json: "maximum validation" - "below the maximum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 378 - maximum.json: "maximum validation" - "boundary point is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 379 - maximum.json: "maximum validation" - "above the maximum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 3", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 380 - maximum.json: "maximum validation" - "ignores non-numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 381 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 382 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 383 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 384 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 300", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 300", 515s # "instanceLocation": "", 515s # "keywordLocation": "/maximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 385 - minItems.json: "minItems validation" - "longer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 386 - minItems.json: "minItems validation" - "exact length is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 387 - minItems.json: "minItems validation" - "too short is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 1 item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 1 item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 388 - minItems.json: "minItems validation" - "ignores non-arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 389 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 390 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 1 item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 1 item", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 391 - minLength.json: "minLength validation" - "longer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 392 - minLength.json: "minLength validation" - "exact length is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 393 - minLength.json: "minLength validation" - "too short is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 394 - minLength.json: "minLength validation" - "ignores non-strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 395 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 396 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 397 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minLength" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 398 - minProperties.json: "minProperties validation" - "longer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 399 - minProperties.json: "minProperties validation" - "exact length is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 400 - minProperties.json: "minProperties validation" - "too short is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object has fewer than 1 property", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object has fewer than 1 property", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 401 - minProperties.json: "minProperties validation" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 402 - minProperties.json: "minProperties validation" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 403 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 404 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 405 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object has fewer than 1 property", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object has fewer than 1 property", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 406 - minimum.json: "minimum validation" - "above the minimum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 407 - minimum.json: "minimum validation" - "boundary point is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 408 - minimum.json: "minimum validation" - "below the minimum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than 1.1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than 1.1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 409 - minimum.json: "minimum validation" - "ignores non-numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 410 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 411 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 412 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 413 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 414 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than -2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than -2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 415 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than -2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than -2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/minimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 416 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 417 - multipleOf.json: "by int" - "int by int" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 418 - multipleOf.json: "by int" - "int by int fail" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 419 - multipleOf.json: "by int" - "ignores non-numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 420 - multipleOf.json: "by number" - "zero is multiple of anything" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 421 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 422 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 1.5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 1.5", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 423 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 424 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 0.0001", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 0.0001", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 425 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 0.123456789", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is not a multiple of 0.123456789", 515s # "instanceLocation": "", 515s # "keywordLocation": "/multipleOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 426 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 427 - not.json: "not" - "allowed" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 428 - not.json: "not" - "disallowed" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 429 - not.json: "not multiple types" - "valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 430 - not.json: "not multiple types" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 431 - not.json: "not multiple types" - "other mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 432 - not.json: "not more complex schema" - "match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 433 - not.json: "not more complex schema" - "other match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 434 - not.json: "not more complex schema" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 435 - not.json: "forbidden property" - "property present" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/not" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/not" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 436 - not.json: "forbidden property" - "property absent" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 437 - not.json: "forbid everything with empty schema" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 438 - not.json: "forbid everything with empty schema" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 439 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 440 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 441 - not.json: "forbid everything with empty schema" - "null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 442 - not.json: "forbid everything with empty schema" - "object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 443 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 444 - not.json: "forbid everything with empty schema" - "array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 445 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 446 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 447 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 448 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 449 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 450 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 451 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 452 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 453 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 454 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/not" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 455 - not.json: "allow everything with boolean schema false" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 456 - not.json: "allow everything with boolean schema false" - "string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 457 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 458 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 459 - not.json: "allow everything with boolean schema false" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 460 - not.json: "allow everything with boolean schema false" - "object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 461 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 462 - not.json: "allow everything with boolean schema false" - "array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 463 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 464 - not.json: "double negation" - "any value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 465 - oneOf.json: "oneOf" - "first oneOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 466 - oneOf.json: "oneOf" - "second oneOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 467 - oneOf.json: "oneOf" - "both oneOf valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 468 - oneOf.json: "oneOf" - "neither oneOf valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/type" 515s # }, 515s # { 515s # "error": "value is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/minimum" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/type" 515s # }, 515s # { 515s # "error": "value is less than 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/minimum" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 469 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # }, 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 470 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 471 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 472 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1, 2", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 473 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 474 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 475 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/2" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1" 515s # }, 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/2" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 476 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 477 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 478 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 479 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/oneOf/0/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/properties" 515s # }, 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/oneOf/1/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/properties" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/oneOf/0/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/properties" 515s # }, 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/oneOf/1/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/properties" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 480 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 481 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 482 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/required" 515s # }, 515s # { 515s # "error": "object is missing properties: foo, baz", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/required" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/required" 515s # }, 515s # { 515s # "error": "object is missing properties: foo, baz", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/required" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 483 - oneOf.json: "oneOf with required" - "first valid - valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 484 - oneOf.json: "oneOf with required" - "second valid - valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 485 - oneOf.json: "oneOf with required" - "both valid - invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 486 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 487 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 488 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "multiple subschemas are valid: 0, 1", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 489 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/required" 515s # }, 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/required" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: bar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/required" 515s # }, 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/required" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 490 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 491 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/oneOf/0/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/oneOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/oneOf/0/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/oneOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 492 - pattern.json: "pattern validation" - "a matching pattern is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 493 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 494 - pattern.json: "pattern validation" - "ignores booleans" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 495 - pattern.json: "pattern validation" - "ignores integers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 496 - pattern.json: "pattern validation" - "ignores floats" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 497 - pattern.json: "pattern validation" - "ignores objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 498 - pattern.json: "pattern validation" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 499 - pattern.json: "pattern validation" - "ignores null" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 500 - pattern.json: "pattern is not anchored" - "matches a substring" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 501 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 502 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 503 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/patternProperties/f.*o/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/patternProperties/f.*o/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 504 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/patternProperties/f.*o/type" 515s # }, 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foooooo", 515s # "keywordLocation": "/patternProperties/f.*o/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/patternProperties/f.*o/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 505 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 506 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 507 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 508 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 509 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 510 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 511 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/a", 515s # "keywordLocation": "/patternProperties/a*/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/a", 515s # "keywordLocation": "/patternProperties/a*/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 512 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 20", 515s # "instanceLocation": "/aaaa", 515s # "keywordLocation": "/patternProperties/aaa*/maximum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than 20", 515s # "instanceLocation": "/aaaa", 515s # "keywordLocation": "/patternProperties/aaa*/maximum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 513 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/aaa", 515s # "keywordLocation": "/patternProperties/a*/type" 515s # }, 515s # { 515s # "error": "value is greater than 20", 515s # "instanceLocation": "/aaaa", 515s # "keywordLocation": "/patternProperties/aaa*/maximum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/aaa", 515s # "keywordLocation": "/patternProperties/a*/type" 515s # }, 515s # { 515s # "error": "value is greater than 20", 515s # "instanceLocation": "/aaaa", 515s # "keywordLocation": "/patternProperties/aaa*/maximum" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 514 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 515 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not boolean", 515s # "instanceLocation": "/a31b", 515s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not boolean", 515s # "instanceLocation": "/a31b", 515s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 516 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 517 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/a_X_3", 515s # "keywordLocation": "/patternProperties/X_/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/a_X_3", 515s # "keywordLocation": "/patternProperties/X_/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 518 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 519 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/patternProperties/b.*" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/patternProperties/b.*" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 520 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/patternProperties/b.*" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/patternProperties/b.*" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 521 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/foobar", 515s # "keywordLocation": "/patternProperties/b.*" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/foobar", 515s # "keywordLocation": "/patternProperties/b.*" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 522 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 523 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 524 - properties.json: "object properties validation" - "both properties present and valid is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 525 - properties.json: "object properties validation" - "one property invalid is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 526 - properties.json: "object properties validation" - "both properties invalid is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/type" 515s # }, 515s # { 515s # "error": "got array, not integer", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 527 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 528 - properties.json: "object properties validation" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 529 - properties.json: "object properties validation" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 530 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 531 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has more than 3 items", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/maxItems" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has more than 3 items", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/maxItems" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 532 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 2 items", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/patternProperties/f.o/minItems" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 2 items", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/patternProperties/f.o/minItems" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 533 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 534 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 2 items", 515s # "instanceLocation": "/fxo", 515s # "keywordLocation": "/patternProperties/f.o/minItems" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "array has fewer than 2 items", 515s # "instanceLocation": "/fxo", 515s # "keywordLocation": "/patternProperties/f.o/minItems" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 535 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 536 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 537 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/quux", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/quux", 515s # "keywordLocation": "/additionalProperties/type" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 538 - properties.json: "properties with boolean schema" - "no property present is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 539 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 540 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 541 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 542 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 543 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\tbar", 515s # "keywordLocation": "/properties/foo\tbar/type" 515s # }, 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\nbar", 515s # "keywordLocation": "/properties/foo\nbar/type" 515s # }, 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\fbar", 515s # "keywordLocation": "/properties/foo\fbar/type" 515s # }, 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\rbar", 515s # "keywordLocation": "/properties/foo\rbar/type" 515s # }, 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\"bar", 515s # "keywordLocation": "/properties/foo\"bar/type" 515s # }, 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\\bar", 515s # "keywordLocation": "/properties/foo\\bar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\tbar", 515s # "keywordLocation": "/properties/foo\tbar/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 544 - properties.json: "properties with null valued instance properties" - "allows null values" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 545 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 546 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 547 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 548 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/__proto__", 515s # "keywordLocation": "/properties/__proto__/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "/__proto__", 515s # "keywordLocation": "/properties/__proto__/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 549 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/toString/length", 515s # "keywordLocation": "/properties/toString/properties/length/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/toString", 515s # "keywordLocation": "/properties/toString/properties" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/toString/length", 515s # "keywordLocation": "/properties/toString/properties/length/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/toString", 515s # "keywordLocation": "/properties/toString/properties" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 550 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not number", 515s # "instanceLocation": "/constructor", 515s # "keywordLocation": "/properties/constructor/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not number", 515s # "instanceLocation": "/constructor", 515s # "keywordLocation": "/properties/constructor/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 551 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 552 - propertyNames.json: "propertyNames validation" - "all property names valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 553 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 3", 515s # "instanceLocation": "/foobar", 515s # "keywordLocation": "/propertyNames/maxLength" 515s # }, 515s # { 515s # "error": "not all property names are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/propertyNames" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "length is greater than 3", 515s # "instanceLocation": "/foobar", 515s # "keywordLocation": "/propertyNames/maxLength" 515s # }, 515s # { 515s # "error": "not all property names are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/propertyNames" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 554 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 555 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 556 - propertyNames.json: "propertyNames validation" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 557 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 558 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 559 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "/aaA", 515s # "keywordLocation": "/propertyNames/pattern" 515s # }, 515s # { 515s # "error": "not all property names are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/propertyNames" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "/aaA", 515s # "keywordLocation": "/propertyNames/pattern" 515s # }, 515s # { 515s # "error": "not all property names are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/propertyNames" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 560 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 561 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 562 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 563 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/propertyNames" 515s # }, 515s # { 515s # "error": "not all property names are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/propertyNames" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "subschema is false", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/propertyNames" 515s # }, 515s # { 515s # "error": "not all property names are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/propertyNames" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 564 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 565 - ref.json: "root pointer ref" - "match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 566 - ref.json: "root pointer ref" - "recursive match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 567 - ref.json: "root pointer ref" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 568 - ref.json: "root pointer ref" - "recursive mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/additionalProperties", 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/foo/bar", 515s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/additionalProperties", 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/additionalProperties", 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/foo/bar", 515s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/additionalProperties", 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 569 - ref.json: "relative pointer ref to object" - "match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 570 - ref.json: "relative pointer ref to object" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/properties/foo/type", 515s # "error": "got boolean, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/properties/foo/type", 515s # "error": "got boolean, not integer", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/properties/bar/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 571 - ref.json: "relative pointer ref to array" - "match array" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 572 - ref.json: "relative pointer ref to array" - "mismatch array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/items/0/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/1/$ref/type" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/items/0/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/1", 515s # "keywordLocation": "/items/1/$ref/type" 515s # }, 515s # { 515s # "error": "not all items are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 573 - ref.json: "escaped pointer ref" - "slash invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/slash", 515s # "keywordLocation": "/properties/slash/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/slash", 515s # "keywordLocation": "/properties/slash/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 574 - ref.json: "escaped pointer ref" - "tilde invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/tilde", 515s # "keywordLocation": "/properties/tilde/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/tilde", 515s # "keywordLocation": "/properties/tilde/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 575 - ref.json: "escaped pointer ref" - "percent invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/percent", 515s # "keywordLocation": "/properties/percent/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/percent", 515s # "keywordLocation": "/properties/percent/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 576 - ref.json: "escaped pointer ref" - "slash valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 577 - ref.json: "escaped pointer ref" - "tilde valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 578 - ref.json: "escaped pointer ref" - "percent valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 579 - ref.json: "nested refs" - "nested ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 580 - ref.json: "nested refs" - "nested ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/a/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/a/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 581 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 582 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 583 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/reffed/type", 515s # "error": "got string, not array", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/reffed/type", 515s # "error": "got string, not array", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 584 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 585 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 586 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 587 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeInteger/minimum", 515s # "error": "value is less than 0", 515s # "instanceLocation": "/minLength", 515s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeIntegerDefault0/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "/minLength", 515s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeInteger/minimum", 515s # "error": "value is less than 0", 515s # "instanceLocation": "/minLength", 515s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeIntegerDefault0/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "/minLength", 515s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 588 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 589 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/$ref", 515s # "keywordLocation": "/properties/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not string", 515s # "instanceLocation": "/$ref", 515s # "keywordLocation": "/properties/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 590 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 591 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/is-string/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/$ref", 515s # "keywordLocation": "/properties/$ref/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/is-string/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/$ref", 515s # "keywordLocation": "/properties/$ref/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 592 - ref.json: "$ref to boolean schema true" - "any value is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 593 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/bool", 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/bool", 515s # "error": "subschema is false", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 594 - ref.json: "Recursive references between schemas" - "valid tree" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 595 - ref.json: "Recursive references between schemas" - "invalid tree" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/nodes/0/subtree/nodes/0", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/nodes/0/subtree/nodes", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/nodes/0/subtree", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/nodes/0", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/nodes", 515s # "keywordLocation": "/properties/nodes/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/nodes/0/subtree/nodes/0", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/nodes/0/subtree/nodes", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/nodes/0/subtree", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/nodes/0", 515s # "keywordLocation": "/properties/nodes/items/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/nodes", 515s # "keywordLocation": "/properties/nodes/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 596 - ref.json: "refs with quote" - "object with numbers is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 597 - ref.json: "refs with quote" - "object with strings is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\"bar", 515s # "keywordLocation": "/properties/foo\"bar/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "/foo\"bar", 515s # "keywordLocation": "/properties/foo\"bar/$ref/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 598 - ref.json: "Location-independent identifier" - "match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 599 - ref.json: "Location-independent identifier" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/A/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/A/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 600 - ref.json: "Reference an anchor with a non-relative URI" - "match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 601 - ref.json: "Reference an anchor with a non-relative URI" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 602 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 603 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s 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" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s 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" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/enum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 606 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 607 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo/bar", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo/bar", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 608 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 609 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 610 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo/bar", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo/bar", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 611 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 612 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 613 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 614 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 515s # "error": "value is less than 30", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/minimum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 515s # "error": "value is less than 30", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/minimum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 615 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 616 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 617 - ref.json: "URN base URI with NSS" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 618 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 619 - ref.json: "URN base URI with r-component" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 620 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 621 - ref.json: "URN base URI with q-component" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 622 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 623 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 624 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 625 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 626 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/foo", 515s # "keywordLocation": "/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 627 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 628 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 629 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 630 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 631 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 632 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 633 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 634 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions//definitions//type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions//definitions//type", 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/type" 515s # }, 515s # { 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 635 - refRemote.json: "remote ref" - "remote ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 636 - refRemote.json: "remote ref" - "remote ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 637 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 638 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 639 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 640 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 641 - refRemote.json: "base URI change" - "base URI change ref valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 642 - refRemote.json: "base URI change" - "base URI change ref invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/items/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/0/0", 515s # "keywordLocation": "/items/items/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/0", 515s # "keywordLocation": "/items/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/items" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 643 - refRemote.json: "base URI change - change folder" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 644 - refRemote.json: "base URI change - change folder" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/list/0", 515s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/list", 515s # "keywordLocation": "/properties/list/$ref/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/list/0", 515s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/list", 515s # "keywordLocation": "/properties/list/$ref/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 645 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 646 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/list/0", 515s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/list", 515s # "keywordLocation": "/properties/list/$ref/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "/list/0", 515s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 515s # "error": "subschema is not valid against all items", 515s # "instanceLocation": "/list", 515s # "keywordLocation": "/properties/list/$ref/items" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 647 - refRemote.json: "root ref in remote ref" - "string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 648 - refRemote.json: "root ref in remote ref" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 649 - refRemote.json: "root ref in remote ref" - "object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 515s # "error": "got object, not null", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 515s # "error": "got object, not string", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/anyOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 515s # "error": "got object, not null", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 515s # "error": "got object, not string", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/anyOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 650 - refRemote.json: "remote ref with ref to definitions" - "invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/bar", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf/0/$ref/allOf" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 515s # "error": "subschema 0 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/allOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 651 - refRemote.json: "remote ref with ref to definitions" - "valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 652 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 653 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 654 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/name/foo", 515s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "/name/foo", 515s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "/name", 515s # "keywordLocation": "/properties/name/$ref/properties" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/properties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 655 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 656 - refRemote.json: "$ref to $ref finds location-independent $id" - "number is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 657 - refRemote.json: "$ref to $ref finds location-independent $id" - "non-number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/draft6/detached-ref.json#/definitions/detached/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/draft6/detached-ref.json#/definitions/detached/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/$ref/$ref/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 658 - required.json: "required validation" - "present required property is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 659 - required.json: "required validation" - "non-present required property is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing property: foo", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 660 - required.json: "required validation" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 661 - required.json: "required validation" - "ignores strings" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 662 - required.json: "required validation" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 663 - required.json: "required default validation" - "not required by default" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 664 - required.json: "required with empty array" - "property not required" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 665 - required.json: "required with escaped characters" - "object with all properties present is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 666 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 667 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 668 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 669 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: __proto__, toString, constructor", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: __proto__, toString, constructor", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 670 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: toString, constructor", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: toString, constructor", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 671 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: __proto__, constructor", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: __proto__, constructor", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 672 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: __proto__, toString", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "object is missing properties: __proto__, toString", 515s # "instanceLocation": "", 515s # "keywordLocation": "/required" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 673 - required.json: "required properties whose names are Javascript object property names" - "all present" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 674 - type.json: "integer type matches integers" - "an integer is an integer" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 675 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 676 - type.json: "integer type matches integers" - "a float is not an integer" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got number, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got number, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 677 - type.json: "integer type matches integers" - "a string is not an integer" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 678 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got string, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 679 - type.json: "integer type matches integers" - "an object is not an integer" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got object, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got object, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 680 - type.json: "integer type matches integers" - "an array is not an integer" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got array, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got array, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 681 - type.json: "integer type matches integers" - "a boolean is not an integer" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got boolean, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got boolean, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 682 - type.json: "integer type matches integers" - "null is not an integer" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got null, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 515s # "error": "got null, not integer", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 683 - type.json: "number type matches numbers" - "an integer is a number" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 684 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 685 - type.json: "number type matches numbers" - "a float is a number" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 686 - type.json: "number type matches numbers" - "a string is not a number" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 687 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 688 - type.json: "number type matches numbers" - "an object is not a number" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 689 - type.json: "number type matches numbers" - "an array is not a number" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 690 - type.json: "number type matches numbers" - "a boolean is not a number" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 691 - type.json: "number type matches numbers" - "null is not a number" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not number", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 692 - type.json: "string type matches strings" - "1 is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 693 - type.json: "string type matches strings" - "a float is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got number, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got number, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 694 - type.json: "string type matches strings" - "a string is a string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 695 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 696 - type.json: "string type matches strings" - "an empty string is still a string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 697 - type.json: "string type matches strings" - "an object is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got object, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got object, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 698 - type.json: "string type matches strings" - "an array is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got array, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got array, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 699 - type.json: "string type matches strings" - "a boolean is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got boolean, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got boolean, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 700 - type.json: "string type matches strings" - "null is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got null, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got null, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 701 - type.json: "object type matches objects" - "an integer is not an object" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 702 - type.json: "object type matches objects" - "a float is not an object" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 703 - type.json: "object type matches objects" - "a string is not an object" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 704 - type.json: "object type matches objects" - "an object is an object" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 705 - type.json: "object type matches objects" - "an array is not an object" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 706 - type.json: "object type matches objects" - "a boolean is not an object" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 707 - type.json: "object type matches objects" - "null is not an object" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 708 - type.json: "array type matches arrays" - "an integer is not an array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 709 - type.json: "array type matches arrays" - "a float is not an array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 710 - type.json: "array type matches arrays" - "a string is not an array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 711 - type.json: "array type matches arrays" - "an object is not an array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 712 - type.json: "array type matches arrays" - "an array is an array" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 713 - type.json: "array type matches arrays" - "a boolean is not an array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 714 - type.json: "array type matches arrays" - "null is not an array" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not array", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 715 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 716 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 717 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 718 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 719 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 720 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 721 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 722 - type.json: "boolean type matches booleans" - "true is a boolean" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 723 - type.json: "boolean type matches booleans" - "false is a boolean" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 724 - type.json: "boolean type matches booleans" - "null is not a boolean" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not boolean", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 725 - type.json: "null type matches only the null object" - "an integer is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 726 - type.json: "null type matches only the null object" - "a float is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 727 - type.json: "null type matches only the null object" - "zero is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 728 - type.json: "null type matches only the null object" - "a string is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 729 - type.json: "null type matches only the null object" - "an empty string is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 730 - type.json: "null type matches only the null object" - "an object is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 731 - type.json: "null type matches only the null object" - "an array is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 732 - type.json: "null type matches only the null object" - "true is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 733 - type.json: "null type matches only the null object" - "false is not null" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 734 - type.json: "null type matches only the null object" - "null is null" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 735 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 736 - type.json: "multiple types can be specified in an array" - "a string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 737 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got number, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 738 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got object, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 739 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got array, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 740 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got boolean, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 741 - type.json: "multiple types can be specified in an array" - "null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not one of integer, string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 742 - type.json: "type as array with one item" - "string is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 743 - type.json: "type as array with one item" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not one of string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not one of string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 744 - type.json: "type: array or object" - "array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 745 - type.json: "type: array or object" - "object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 746 - type.json: "type: array or object" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not one of array, object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not one of array, object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 747 - type.json: "type: array or object" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not one of array, object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not one of array, object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 748 - type.json: "type: array or object" - "null is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not one of array, object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got null, not one of array, object", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 749 - type.json: "type: array, object or null" - "array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 750 - type.json: "type: array, object or null" - "object is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 751 - type.json: "type: array, object or null" - "null is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 752 - type.json: "type: array, object or null" - "number is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not one of array, object, null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got integer, not one of array, object, null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 753 - type.json: "type: array, object or null" - "string is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not one of array, object, null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not one of array, object, null", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 754 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 755 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 756 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 2 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 2 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 757 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 758 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 759 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 760 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 761 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 2 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 2 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 762 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 763 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 764 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 765 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 766 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 767 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 768 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 769 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 2 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 2 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 770 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 771 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 772 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 773 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 774 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 775 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 776 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 777 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 4 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 4 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 778 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 779 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 780 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 781 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 782 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 783 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 784 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 785 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 786 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 787 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 788 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 2 and 3 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 2 and 3 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 789 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 2 and 3 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 2 and 3 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 790 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 791 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 792 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 793 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "items at indices 0 and 1 are not unique", 515s # "instanceLocation": "", 515s # "keywordLocation": "/uniqueItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 794 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 795 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 796 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 797 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 798 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 799 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 800 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 801 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 802 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 803 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 804 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 805 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 806 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 807 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 808 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 809 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 810 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 811 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 812 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 813 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 814 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 815 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 816 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 817 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 818 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 819 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 820 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 821 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 822 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional item not permitted", 515s # "instanceLocation": "/2", 515s # "keywordLocation": "/additionalItems" 515s # }, 515s # { 515s # "error": "subschema is not valid against all additional items", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalItems" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 823 - optional/bignum.json: "integer" - "a bignum is an integer" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 824 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 825 - optional/bignum.json: "number" - "a bignum is a number" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 826 - optional/bignum.json: "number" - "a negative bignum is a number" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 827 - optional/bignum.json: "string" - "a bignum is not a string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/type" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 828 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 829 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMaximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMaximum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 830 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 831 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMinimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 515s # "instanceLocation": "", 515s # "keywordLocation": "/exclusiveMinimum" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 832 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 833 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 834 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 835 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 836 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 837 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 838 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 839 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 840 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true # 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "\"߀\"" 515s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "\"߀\"" 515s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s 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" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false # 515s 1..1 515s } 515s 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" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected true; got false 515s # data: "\"߀\"" 515s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s 1..1 515s } 515s 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" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected true; got false 515s # data: "\"߀\"" 515s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s 1..1 515s } 515s ok 846 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true # 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "\"é\"" 515s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s 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" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false # 515s 1..1 515s } 515s 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" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected true; got false 515s # data: "\"é\"" 515s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s 1..1 515s } 515s ok 850 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 851 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 852 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 853 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 854 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 855 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected true; got false 515s # data: "\"\"" 515s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s 1..1 515s } 515s ok 856 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 857 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 858 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 859 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 860 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 861 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 862 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 863 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 864 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 865 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "\"\"" 515s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s ok 867 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 868 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 869 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 870 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 871 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 872 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 873 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 874 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 875 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 876 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # 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.\"" 515s # schema: "{\"pattern\":\"\\\\wcole\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # 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.\"" 515s # schema: "{\"pattern\":\"\\\\wcole\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s ok 879 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 880 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 881 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 882 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 883 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 884 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "\"৪২\"" 515s # schema: "{\"pattern\":\"^\\\\d+$\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s ok 886 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 887 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 888 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 889 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 890 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 891 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 892 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/L'ÉCOLE", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/L'ÉCOLE", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 893 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "{\"l'école\":\"pas de vraie vie\"}" 515s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "{\"l'école\":\"pas de vraie vie\"}" 515s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s ok 896 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/L'ÉCOLE", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/L'ÉCOLE", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 897 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/l'école", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/l'école", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 898 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/l'école", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/l'école", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 899 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 900 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 901 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/-%#", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/-%#", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s 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" 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s not ok 1 - evaluation result is incorrect # 515s # Failed test (with amnesty) 'evaluation result is incorrect' 515s # at t/zzz-acceptance-draft6.t line 49. 515s # expected false; got true 515s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 515s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 515s # result: { 515s # "valid": true 515s # } 515s 1..1 515s } 515s ok 903 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 904 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/-%#", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "additional property not permitted", 515s # "instanceLocation": "/-%#", 515s # "keywordLocation": "/additionalProperties" 515s # }, 515s # { 515s # "error": "not all additional properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/additionalProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 905 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 906 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s # 515s ok 907 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 908 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 909 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/$ref/enum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/$ref/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/$ref/enum" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/$ref/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 910 - optional/id.json: "non-schema object containing a plain-name $id property" - "skip traversing definition for a valid result" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 911 - optional/id.json: "non-schema object containing a plain-name $id property" - "const at const_not_anchor does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/const" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/const" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 912 - optional/id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 913 - optional/id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/const" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/0/const" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 515s # "error": "value does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 515s # }, 515s # { 515s # "error": "subschema 1 is not valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf/1/allOf" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/oneOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s ok 914 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 915 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 916 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 917 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 918 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 919 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 920 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "pattern does not match", 515s # "instanceLocation": "", 515s # "keywordLocation": "/pattern" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 921 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 922 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 923 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 924 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/🐲", 515s # "keywordLocation": "/patternProperties/^🐲*$/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/🐲", 515s # "keywordLocation": "/patternProperties/^🐲*$/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 925 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 515s # result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/🐲🐲", 515s # "keywordLocation": "/patternProperties/^🐲*$/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "error": "got string, not integer", 515s # "instanceLocation": "/🐲🐲", 515s # "keywordLocation": "/patternProperties/^🐲*$/type" 515s # }, 515s # { 515s # "error": "not all properties are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/patternProperties" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s 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" { 515s # result: { 515s # "valid": true 515s # } 515s # short-circuited result: { 515s # "valid": true 515s # } 515s ok 1 - test passes: data is valid: true 515s 1..1 515s } 515s ok 927 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 515s # "error": "got null, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/2/$ref/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 515s # "error": "got null, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/2/$ref/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s ok 928 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 515s # result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/2/$ref/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s # short-circuited result: { 515s # "errors": [ 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/0/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 515s # "error": "subschema is valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/1/$ref/not" 515s # }, 515s # { 515s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 515s # "error": "got integer, not string", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf/2/$ref/type" 515s # }, 515s # { 515s # "error": "no subschemas are valid", 515s # "instanceLocation": "", 515s # "keywordLocation": "/anyOf" 515s # } 515s # ], 515s # "valid": false 515s # } 515s ok 1 - test passes: data is valid: false 515s 1..1 515s } 515s # 515s # 515s # generated with: Test::JSON::Schema::Acceptance 1.026 515s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 515s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 515s # specification version: draft6 515s # optional tests included: yes 515s # skipping directory: optional/format 515s # 515s # filename pass todo-fail fail 515s # --------------------------------------------------------------- 515s # additionalItems.json 20 0 0 515s # additionalProperties.json 16 0 0 515s # allOf.json 30 0 0 515s # anyOf.json 18 0 0 515s # boolean_schema.json 18 0 0 515s # const.json 50 0 0 515s # contains.json 19 0 0 515s # default.json 7 0 0 515s # definitions.json 2 0 0 515s # dependencies.json 36 0 0 515s # enum.json 45 0 0 515s # exclusiveMaximum.json 4 0 0 515s # exclusiveMinimum.json 4 0 0 515s # format.json 54 0 0 515s # infinite-loop-detection.json 2 0 0 515s # items.json 28 0 0 515s # maxItems.json 6 0 0 515s # maxLength.json 7 0 0 515s # maxProperties.json 10 0 0 515s # maximum.json 8 0 0 515s # minItems.json 6 0 0 515s # minLength.json 7 0 0 515s # minProperties.json 8 0 0 515s # minimum.json 11 0 0 515s # multipleOf.json 10 0 0 515s # not.json 38 0 0 515s # oneOf.json 27 0 0 515s # pattern.json 9 0 0 515s # patternProperties.json 23 0 0 515s # properties.json 28 0 0 515s # propertyNames.json 13 0 0 515s # ref.json 70 0 0 515s # refRemote.json 23 0 0 515s # required.json 16 0 0 515s # type.json 80 0 0 515s # uniqueItems.json 69 0 0 515s # optional/bignum.json 9 0 0 515s # optional/ecmascript-regex.json 60 14 0 515s # optional/float-overflow.json 1 0 0 515s # optional/id.json 7 0 0 515s # optional/non-bmp-regex.json 12 0 0 515s # optional/unknownKeyword.json 3 0 0 515s # --------------------------------------------------------------- 515s # TOTAL 914 14 0 515s # 515s # Congratulations, all non-optional tests are passing! 515s # 515s ok 929 - no leaks in the main evaluator object 515s ok 930 - no leaks in the short-circuiting evaluator object 515s 1..930 515s ok 517s t/zzz-acceptance-draft7-format.t ........ 517s # AUTHOR_TESTING: 517s # AUTOMATED_TESTING: 1 517s # EXTENDED_TESTING: 517s # NO_TODO: 517s # TEST_DIR: 517s # NO_SHORT_CIRCUIT: 517s # 517s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft7/optional/format against draft7... 517s # 517s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date-time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 32 - date.json: "validation of date strings" - "a valid date string" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 64 - date.json: "validation of date strings" - "invalid month" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid date", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 73 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 74 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 75 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 76 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 77 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 78 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 79 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 80 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 81 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 82 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 83 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 84 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 85 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 86 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 87 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 88 - hostname.json: "validation of host names" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 89 - hostname.json: "validation of host names" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 90 - hostname.json: "validation of host names" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 91 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 92 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 93 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 94 - hostname.json: "validation of host names" - "a valid host name" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 95 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 96 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 97 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 98 - hostname.json: "validation of host names" - "a host name with a component too long" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 99 - hostname.json: "validation of host names" - "starts with hyphen" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 100 - hostname.json: "validation of host names" - "ends with hyphen" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 101 - hostname.json: "validation of host names" - "starts with underscore" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 102 - hostname.json: "validation of host names" - "ends with underscore" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 103 - hostname.json: "validation of host names" - "contains underscore" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 104 - hostname.json: "validation of host names" - "maximum label length" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 105 - hostname.json: "validation of host names" - "exceeds maximum label length" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 106 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"hostname\"" 517s # schema: "{\"format\":\"hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 107 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"host-name\"" 517s # schema: "{\"format\":\"hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 108 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"h0stn4me\"" 517s # schema: "{\"format\":\"hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 109 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"hostnam3\"" 517s # schema: "{\"format\":\"hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s # 517s ok 110 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 111 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 112 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 113 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 114 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 115 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 116 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 117 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 118 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 119 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-email", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 120 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 121 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 122 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 123 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 124 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 125 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected false; got true 517s # data: "\"실〮례.테스트\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "valid": true 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 130 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 131 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 132 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 134 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 135 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 137 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 138 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 139 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"ßς་〇\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"Û½Û¾\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 144 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 145 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 146 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 147 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 148 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"l·l\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 149 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 150 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 151 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"α͵β\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 152 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 153 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 154 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"א׳ב\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 155 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 156 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 157 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"א״ב\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 159 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 160 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"・ぁ\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 161 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"・ァ\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 162 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"・丈\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"ب٠ب\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"Û°0\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 166 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 167 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false # 517s 1..1 517s } 517s ok 168 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"क्‍ष\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 169 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"क्‌ष\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s 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" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"بي‌بي\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 171 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"hostname\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 172 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"host-name\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 173 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"h0stn4me\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s ok 174 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected true; got false 517s # data: "\"hostnam3\"" 517s # schema: "{\"format\":\"idn-hostname\"}" 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid idn-hostname", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s 1..1 517s } 517s # 517s ok 175 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 176 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 177 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 178 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 179 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 180 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 181 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 182 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 183 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 184 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 185 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 186 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 187 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 188 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 189 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 190 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv4", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 191 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 192 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 193 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 194 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 195 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 196 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 197 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 198 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 199 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 200 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 201 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 202 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 203 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 204 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 205 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 206 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 207 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 208 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 209 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 210 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 211 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 212 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 213 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 214 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 215 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 216 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 217 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 218 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 219 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 220 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 221 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 222 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 223 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 224 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 225 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 226 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 227 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 228 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 229 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 230 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid ipv6", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 231 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 232 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 233 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 234 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 235 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 236 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 237 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 238 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 239 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 240 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected false; got true 517s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 517s # schema: "{\"format\":\"iri-reference\"}" 517s # result: { 517s # "valid": true 517s # } 517s 1..1 517s } 517s ok 241 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 242 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 243 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected false; got true 517s # data: "\"#ƒräg\\\\mênt\"" 517s # schema: "{\"format\":\"iri-reference\"}" 517s # result: { 517s # "valid": true 517s # } 517s 1..1 517s } 517s # 517s ok 244 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 245 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 246 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 247 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 248 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 249 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 250 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 251 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 252 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 253 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 254 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 255 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected false; got true 517s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 517s # schema: "{\"format\":\"iri\"}" 517s # result: { 517s # "valid": true 517s # } 517s 1..1 517s } 517s ok 256 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid iri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid iri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 257 - iri.json: "validation of IRIs" - "an invalid IRI" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid iri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid iri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 258 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid iri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid iri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 259 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 260 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 261 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 262 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 263 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 264 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 265 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 266 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 267 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 268 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 269 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 270 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 271 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 272 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 273 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 274 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 275 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 276 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 277 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 278 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 279 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 280 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 281 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 282 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 283 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 284 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 285 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 286 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 287 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 288 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 289 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 290 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 291 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 292 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 297 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 298 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 299 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 300 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 301 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 302 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 303 - regex.json: "validation of regular expressions" - "a valid regular expression" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 304 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid regex", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid regex", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 305 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 306 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 307 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 308 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 309 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 310 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 311 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 312 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 313 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 314 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 315 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 316 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 317 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 318 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 319 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 320 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 321 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid relative-json-pointer", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 322 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s # 517s ok 323 - time.json: "validation of time strings" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 324 - time.json: "validation of time strings" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 325 - time.json: "validation of time strings" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 326 - time.json: "validation of time strings" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 327 - time.json: "validation of time strings" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 328 - time.json: "validation of time strings" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 329 - time.json: "validation of time strings" - "a valid time string" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 330 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 331 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 332 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 333 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 334 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 335 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 336 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 337 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 338 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 339 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 340 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 341 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 342 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 343 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 344 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 345 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 346 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 347 - time.json: "validation of time strings" - "a valid time string with second fraction" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 348 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 349 - time.json: "validation of time strings" - "a valid time string with plus offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 350 - time.json: "validation of time strings" - "a valid time string with minus offset" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 351 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 352 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 353 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 354 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 355 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 356 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 357 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 358 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 359 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 360 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 361 - time.json: "validation of time strings" - "an invalid offset indicator" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 362 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 363 - time.json: "validation of time strings" - "no time offset" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 364 - time.json: "validation of time strings" - "no time offset with second fraction" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 365 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 366 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 367 - time.json: "validation of time strings" - "contains letters" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid time", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 368 - unknown.json: "unknown format" - "unknown formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 369 - unknown.json: "unknown format" - "unknown formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 370 - unknown.json: "unknown format" - "unknown formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 371 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 372 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 373 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 374 - unknown.json: "unknown format" - "unknown formats ignore strings" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s # 517s ok 375 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 376 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 377 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 378 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 379 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 380 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 381 - uri-reference.json: "validation of URI References" - "a valid URI" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 382 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 383 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 384 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri-reference", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri-reference", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 385 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 386 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 387 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri-reference", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri-reference", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s # 517s ok 388 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 389 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 390 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 391 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 392 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 393 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 394 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 395 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected false; got true 517s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 517s # schema: "{\"format\":\"uri-template\"}" 517s # result: { 517s # "valid": true 517s # } 517s 1..1 517s } 517s ok 396 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s ok 397 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true # 517s 1..1 517s } 517s # 517s ok 398 - uri.json: "validation of URIs" - "all string formats ignore integers" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 399 - uri.json: "validation of URIs" - "all string formats ignore floats" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 400 - uri.json: "validation of URIs" - "all string formats ignore objects" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 401 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 402 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 403 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 404 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 405 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 406 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 407 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 408 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 409 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 410 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 411 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 412 - uri.json: "validation of URIs" - "a valid URL " { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 413 - uri.json: "validation of URIs" - "a valid mailto URI" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 414 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 415 - uri.json: "validation of URIs" - "a valid tel URI" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 416 - uri.json: "validation of URIs" - "a valid URN" { 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s ok 1 - test passes: data is valid: true 517s 1..1 517s } 517s ok 417 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 418 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 419 - uri.json: "validation of URIs" - "an invalid URI" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 420 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 421 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 422 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 517s # result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s # short-circuited result: { 517s # "errors": [ 517s # { 517s # "error": "not a valid uri", 517s # "instanceLocation": "", 517s # "keywordLocation": "/format" 517s # } 517s # ], 517s # "valid": false 517s # } 517s ok 1 - test passes: data is valid: false 517s 1..1 517s } 517s ok 423 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 517s # result: { 517s # "valid": true 517s # } 517s # short-circuited result: { 517s # "valid": true 517s # } 517s not ok 1 - evaluation result is incorrect # 517s # Failed test (with amnesty) 'evaluation result is incorrect' 517s # at t/zzz-acceptance-draft7-format.t line 68. 517s # expected false; got true 517s # data: "\"bar,baz:foo\"" 517s # schema: "{\"format\":\"uri\"}" 517s # result: { 517s # "valid": true 517s # } 517s 1..1 517s } 517s # 517s # 517s # generated with: Test::JSON::Schema::Acceptance 1.026 517s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 517s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 517s # specification version: draft7 517s # using custom test directory: /optional/format 517s # optional tests included: yes 517s # 517s # filename pass todo-fail fail 517s # --------------------------------------------------------------- 517s # date-time.json 25 0 0 517s # date.json 47 0 0 517s # email.json 15 0 0 517s # hostname.json 18 4 0 517s # idn-email.json 10 0 0 517s # idn-hostname.json 35 20 0 517s # ipv4.json 16 0 0 517s # ipv6.json 40 0 0 517s # iri-reference.json 11 2 0 517s # iri.json 14 1 0 517s # json-pointer.json 38 0 0 517s # regex.json 8 0 0 517s # relative-json-pointer.json 18 0 0 517s # time.json 45 0 0 517s # unknown.json 7 0 0 517s # uri-reference.json 13 0 0 517s # uri-template.json 9 1 0 517s # uri.json 25 1 0 517s # --------------------------------------------------------------- 517s # TOTAL 394 29 0 517s # 517s # Congratulations, all non-optional tests are passing! 517s # 517s ok 424 - no leaks in the main evaluator object 517s ok 425 - no leaks in the short-circuiting evaluator object 517s 1..425 517s ok 525s t/zzz-acceptance-draft7.t ............... 526s # AUTHOR_TESTING: 526s # AUTOMATED_TESTING: 1 526s # EXTENDED_TESTING: 526s # NO_TODO: 526s # TEST_DIR: 526s # NO_SHORT_CIRCUIT: 526s # 526s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 526s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft7 against draft7... 526s # 526s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/additionalItems/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/additionalItems/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/type" 526s # }, 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not boolean", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/additionalItems/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not boolean", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/additionalItems/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/additionalItems/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/additionalItems/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/quux", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/quux", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/élmény", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/élmény", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "/quux", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "/quux", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 37 - allOf.json: "allOf" - "allOf" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 38 - allOf.json: "allOf" - "mismatch second" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/required" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/required" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 39 - allOf.json: "allOf" - "mismatch first" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/required" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/required" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 40 - allOf.json: "allOf" - "wrong type" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/properties" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/properties" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 41 - allOf.json: "allOf with base schema" - "valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 42 - allOf.json: "allOf with base schema" - "mismatch base schema" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 43 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/required" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/required" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 44 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: baz", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/required" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: baz", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/required" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 45 - allOf.json: "allOf with base schema" - "mismatch both" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/required" 526s # }, 526s # { 526s # "error": "object is missing property: baz", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/required" 526s # }, 526s # { 526s # "error": "subschemas 0, 1 are not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/required" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 46 - allOf.json: "allOf simple types" - "valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 47 - allOf.json: "allOf simple types" - "mismatch one" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 30", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/maximum" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 30", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/maximum" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 48 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 49 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 50 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1" 526s # }, 526s # { 526s # "error": "subschemas 0, 1 are not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 51 - allOf.json: "allOf with one empty schema" - "any data is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 52 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 53 - allOf.json: "allOf with the first empty schema" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 54 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/type" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/type" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 55 - allOf.json: "allOf with the last empty schema" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 56 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 57 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 58 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/allOf/0/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/allOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/allOf/0/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/allOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 62 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 63 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/multipleOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 67 - anyOf.json: "anyOf" - "first anyOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 68 - anyOf.json: "anyOf" - "second anyOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 69 - anyOf.json: "anyOf" - "both anyOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 70 - anyOf.json: "anyOf" - "neither anyOf valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/type" 526s # }, 526s # { 526s # "error": "value is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/minimum" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/type" 526s # }, 526s # { 526s # "error": "value is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/minimum" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 71 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 72 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 73 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/maxLength" 526s # }, 526s # { 526s # "error": "length is less than 4", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/minLength" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/maxLength" 526s # }, 526s # { 526s # "error": "length is less than 4", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/minLength" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 74 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 75 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 76 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 77 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 78 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 79 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 80 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/anyOf/0/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/properties" 526s # }, 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/anyOf/1/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/properties" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/anyOf/0/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/properties" 526s # }, 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/anyOf/1/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/properties" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 81 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 82 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 83 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 84 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/anyOf/0/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/anyOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/anyOf/0/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/anyOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 85 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 86 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 87 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 88 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 89 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 90 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 91 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 92 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 93 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 94 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 95 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 96 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 97 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 98 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 99 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 100 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 101 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 102 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 103 - const.json: "const validation" - "same value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 104 - const.json: "const validation" - "another value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 105 - const.json: "const validation" - "another type is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 106 - const.json: "const with object" - "same object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 107 - const.json: "const with object" - "same object with different property order is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 108 - const.json: "const with object" - "another object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 109 - const.json: "const with object" - "another type is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 110 - const.json: "const with array" - "same array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 111 - const.json: "const with array" - "another array item is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs object)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs object)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 112 - const.json: "const with array" - "array with additional items is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 113 - const.json: "const with null" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 114 - const.json: "const with null" - "not null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 115 - const.json: "const with false does not match 0" - "false is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 116 - const.json: "const with false does not match 0" - "integer zero is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 117 - const.json: "const with false does not match 0" - "float zero is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 118 - const.json: "const with true does not match 1" - "true is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 119 - const.json: "const with true does not match 1" - "integer one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 120 - const.json: "const with true does not match 1" - "float one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 121 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 122 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 123 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 124 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 125 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 126 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 127 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 128 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 129 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 130 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 131 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 132 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 133 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 134 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 135 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 136 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 137 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 138 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 139 - const.json: "const with 1 does not match true" - "true is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 140 - const.json: "const with 1 does not match true" - "integer one is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 141 - const.json: "const with 1 does not match true" - "float one is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 142 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 143 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 144 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 145 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 146 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 147 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 148 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 149 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 150 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 151 - const.json: "nul characters in strings" - "match string with nul" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 152 - const.json: "nul characters in strings" - "do not match string lacking nul" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/const" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 153 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 154 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 155 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 156 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than 5", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/minimum" 526s # }, 526s # { 526s # "error": "value is less than 5", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/minimum" 526s # }, 526s # { 526s # "error": "value is less than 5", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/contains/minimum" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than 5", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/minimum" 526s # }, 526s # { 526s # "error": "value is less than 5", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/minimum" 526s # }, 526s # { 526s # "error": "value is less than 5", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/contains/minimum" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 157 - contains.json: "contains keyword validation" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 158 - contains.json: "contains keyword validation" - "not array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 159 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 160 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 161 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/contains/const" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 162 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 163 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 164 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 165 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 166 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 167 - contains.json: "items + contains" - "matches items, does not match contains" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 168 - contains.json: "items + contains" - "does not match items, matches contains" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/items/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 169 - contains.json: "items + contains" - "matches both items and contains" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 170 - contains.json: "items + contains" - "matches neither items nor contains" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "value is not a multiple of 3", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/contains/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 171 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 172 - contains.json: "contains with false if subschema" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is not valid against any item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contains" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 173 - contains.json: "contains with null instance elements" - "allows null items" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 174 - default.json: "invalid type for default" - "valid when property is specified" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 175 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 176 - default.json: "invalid string value for default" - "valid when property is specified" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 177 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s 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)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s 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)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 3", 526s # "instanceLocation": "/alpha", 526s # "keywordLocation": "/properties/alpha/maximum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 3", 526s # "instanceLocation": "/alpha", 526s # "keywordLocation": "/properties/alpha/maximum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s 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" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 181 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 182 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/simpleTypes/enum", 526s # "error": "value does not match", 526s # "instanceLocation": "/definitions/foo/type", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf/1/type", 526s # "error": "got integer, not array", 526s # "instanceLocation": "/definitions/foo/type", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf", 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "/definitions/foo/type", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/definitions/foo", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/definitions/additionalProperties", 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "/definitions", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/simpleTypes/enum", 526s # "error": "value does not match", 526s # "instanceLocation": "/definitions/foo/type", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf/1/type", 526s # "error": "got integer, not array", 526s # "instanceLocation": "/definitions/foo/type", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf", 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "/definitions/foo/type", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/definitions/foo", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/definitions/additionalProperties", 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "/definitions", 526s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 183 - dependencies.json: "dependencies" - "neither" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 184 - dependencies.json: "dependencies" - "nondependant" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 185 - dependencies.json: "dependencies" - "with dependency" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 186 - dependencies.json: "dependencies" - "missing dependency" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 187 - dependencies.json: "dependencies" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 188 - dependencies.json: "dependencies" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 189 - dependencies.json: "dependencies" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 190 - dependencies.json: "dependencies with empty array" - "empty object" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 191 - dependencies.json: "dependencies with empty array" - "object with one property" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 192 - dependencies.json: "dependencies with empty array" - "non-object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 193 - dependencies.json: "multiple dependencies" - "neither" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 194 - dependencies.json: "multiple dependencies" - "nondependants" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 195 - dependencies.json: "multiple dependencies" - "with dependencies" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 196 - dependencies.json: "multiple dependencies" - "missing dependency" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/quux" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/quux" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 197 - dependencies.json: "multiple dependencies" - "missing other dependency" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/quux" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/quux" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 198 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: foo, bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/quux" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: foo, bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/quux" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 199 - dependencies.json: "multiple dependencies subschema" - "valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 200 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 201 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/bar/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar/properties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/bar/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar/properties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 202 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/dependencies/bar/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar/properties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/dependencies/bar/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar/properties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 203 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/dependencies/bar/properties/bar/type" 526s # }, 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/bar/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar/properties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/dependencies/bar/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar/properties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 204 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema true is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 205 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 206 - dependencies.json: "dependencies with boolean subschemas" - "object with both properties is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 207 - dependencies.json: "dependencies with boolean subschemas" - "empty object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 208 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 209 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 210 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 211 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo\rbar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo\nbar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo\rbar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo\nbar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 212 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object has fewer than 4 properties", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object has fewer than 4 properties", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 213 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo\"bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo'bar/required" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo\"bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo'bar/required" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 214 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo'bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo\"bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo'bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo\"bar" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 215 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 216 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 217 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies/foo/additionalProperties" 526s # }, 526s # { 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/dependencies" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 218 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 219 - enum.json: "simple enum validation" - "one of the enum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 220 - enum.json: "simple enum validation" - "something else is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 221 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 222 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 223 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 526s # result: { 526s # "errors": [ 526s # { 526s # "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)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "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)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 224 - enum.json: "heterogeneous enum validation" - "valid object matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 225 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 226 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 227 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 228 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 229 - enum.json: "enums in properties" - "both properties are valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 230 - enum.json: "enums in properties" - "wrong foo value" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/enum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/enum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 231 - enum.json: "enums in properties" - "wrong bar value" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/enum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/enum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 232 - enum.json: "enums in properties" - "missing optional property is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 233 - enum.json: "enums in properties" - "missing required property is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 234 - enum.json: "enums in properties" - "missing all properties is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 235 - enum.json: "enum with escaped characters" - "member 1 is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 236 - enum.json: "enum with escaped characters" - "member 2 is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 237 - enum.json: "enum with escaped characters" - "another string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 238 - enum.json: "enum with false does not match 0" - "false is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 239 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 240 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 241 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 242 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 243 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 244 - enum.json: "enum with true does not match 1" - "true is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 245 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 246 - enum.json: "enum with true does not match 1" - "float one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 247 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 248 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 249 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 250 - enum.json: "enum with 0 does not match false" - "false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 251 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 252 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 253 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 254 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 255 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 256 - enum.json: "enum with 1 does not match true" - "true is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 257 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 258 - enum.json: "enum with 1 does not match true" - "float one is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 259 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 260 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 261 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 262 - enum.json: "nul characters in strings" - "match string with nul" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 263 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 264 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 265 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than or equal to 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMaximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than or equal to 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMaximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 266 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than or equal to 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMaximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than or equal to 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMaximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 267 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 268 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 269 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than or equal to 1.1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMinimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than or equal to 1.1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMinimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 270 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than or equal to 1.1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMinimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than or equal to 1.1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMinimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 271 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 272 - format.json: "email format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 273 - format.json: "email format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 274 - format.json: "email format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 275 - format.json: "email format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 276 - format.json: "email format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 277 - format.json: "email format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 278 - format.json: "idn-email format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 279 - format.json: "idn-email format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 280 - format.json: "idn-email format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 281 - format.json: "idn-email format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 282 - format.json: "idn-email format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 283 - format.json: "idn-email format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 284 - format.json: "regex format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 285 - format.json: "regex format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 286 - format.json: "regex format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 287 - format.json: "regex format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 288 - format.json: "regex format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 289 - format.json: "regex format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 290 - format.json: "ipv4 format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 291 - format.json: "ipv4 format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 292 - format.json: "ipv4 format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 293 - format.json: "ipv4 format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 294 - format.json: "ipv4 format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 295 - format.json: "ipv4 format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 296 - format.json: "ipv6 format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 297 - format.json: "ipv6 format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 298 - format.json: "ipv6 format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 299 - format.json: "ipv6 format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 300 - format.json: "ipv6 format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 301 - format.json: "ipv6 format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 302 - format.json: "idn-hostname format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 303 - format.json: "idn-hostname format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 304 - format.json: "idn-hostname format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 305 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 306 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 307 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 308 - format.json: "hostname format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 309 - format.json: "hostname format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 310 - format.json: "hostname format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 311 - format.json: "hostname format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 312 - format.json: "hostname format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 313 - format.json: "hostname format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 314 - format.json: "date format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 315 - format.json: "date format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 316 - format.json: "date format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 317 - format.json: "date format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 318 - format.json: "date format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 319 - format.json: "date format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 320 - format.json: "date-time format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 321 - format.json: "date-time format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 322 - format.json: "date-time format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 323 - format.json: "date-time format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 324 - format.json: "date-time format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 325 - format.json: "date-time format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 326 - format.json: "time format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 327 - format.json: "time format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 328 - format.json: "time format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 329 - format.json: "time format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 330 - format.json: "time format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 331 - format.json: "time format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 332 - format.json: "json-pointer format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 333 - format.json: "json-pointer format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 334 - format.json: "json-pointer format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 335 - format.json: "json-pointer format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 336 - format.json: "json-pointer format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 337 - format.json: "json-pointer format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 338 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 339 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 340 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 341 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 342 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 343 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 344 - format.json: "iri format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 345 - format.json: "iri format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 346 - format.json: "iri format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 347 - format.json: "iri format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 348 - format.json: "iri format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 349 - format.json: "iri format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 350 - format.json: "iri-reference format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 351 - format.json: "iri-reference format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 352 - format.json: "iri-reference format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 353 - format.json: "iri-reference format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 354 - format.json: "iri-reference format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 355 - format.json: "iri-reference format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 356 - format.json: "uri format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 357 - format.json: "uri format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 358 - format.json: "uri format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 359 - format.json: "uri format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 360 - format.json: "uri format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 361 - format.json: "uri format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 362 - format.json: "uri-reference format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 363 - format.json: "uri-reference format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 364 - format.json: "uri-reference format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 365 - format.json: "uri-reference format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 366 - format.json: "uri-reference format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 367 - format.json: "uri-reference format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 368 - format.json: "uri-template format" - "all string formats ignore integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 369 - format.json: "uri-template format" - "all string formats ignore floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 370 - format.json: "uri-template format" - "all string formats ignore objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 371 - format.json: "uri-template format" - "all string formats ignore arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 372 - format.json: "uri-template format" - "all string formats ignore booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 373 - format.json: "uri-template format" - "all string formats ignore nulls" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 374 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 375 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 376 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 377 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 378 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 379 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 380 - if-then-else.json: "if and then without else" - "valid through then" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 381 - if-then-else.json: "if and then without else" - "invalid through then" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -10", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/minimum" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -10", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/minimum" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 382 - if-then-else.json: "if and then without else" - "valid when if test fails" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 383 - if-then-else.json: "if and else without then" - "valid when if test passes" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 384 - if-then-else.json: "if and else without then" - "valid through else" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 385 - if-then-else.json: "if and else without then" - "invalid through else" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 386 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 387 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -10", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/minimum" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -10", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/minimum" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 388 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 389 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/multipleOf" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 390 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 391 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 392 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 393 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 394 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 395 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 396 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 397 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 398 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/then" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 399 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s 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" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s 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" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/int/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/int/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/additionalProperties" 526s # }, 526s # { 526s # "error": "subschemas 0, 1 are not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/int/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/properties" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 402 - items.json: "a schema given for items" - "valid items" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 403 - items.json: "a schema given for items" - "wrong type of items" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 404 - items.json: "a schema given for items" - "ignores non-arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 405 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 406 - items.json: "an array of schemas for items" - "correct types" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 407 - items.json: "an array of schemas for items" - "wrong types" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/type" 526s # }, 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/1/type" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/type" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 408 - items.json: "an array of schemas for items" - "incomplete array of items" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 409 - items.json: "an array of schemas for items" - "array with additional items" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 410 - items.json: "an array of schemas for items" - "empty array" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 411 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 412 - items.json: "items with boolean schema (true)" - "any array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 413 - items.json: "items with boolean schema (true)" - "empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 414 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "item not permitted", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items" 526s # }, 526s # { 526s # "error": "item not permitted", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items" 526s # }, 526s # { 526s # "error": "item not permitted", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "item not permitted", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 415 - items.json: "items with boolean schema (false)" - "empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 416 - items.json: "items with boolean schemas" - "array with one item is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 417 - items.json: "items with boolean schemas" - "array with two items is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "item not permitted", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/1" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "item not permitted", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/1" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 418 - items.json: "items with boolean schemas" - "empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 419 - items.json: "items and subitems" - "valid items" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 420 - items.json: "items and subitems" - "too many items" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/3", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 421 - items.json: "items and subitems" - "too many sub-items" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/0/2", 526s # "keywordLocation": "/items/0/$ref/additionalItems" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/$ref/additionalItems" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/0/2", 526s # "keywordLocation": "/items/0/$ref/additionalItems" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/$ref/additionalItems" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 422 - items.json: "items and subitems" - "wrong item" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/type", 526s # "error": "got object, not array", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/$ref/type" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/type", 526s # "error": "got object, not array", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/$ref/type" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 423 - items.json: "items and subitems" - "wrong sub-item" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/items", 526s # "error": "not all items are valid", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/$ref/items" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/item/items", 526s # "error": "not all items are valid", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/0/$ref/items" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 424 - items.json: "items and subitems" - "fewer items is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 425 - items.json: "nested items" - "valid nested array" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 426 - items.json: "nested items" - "nested array with invalid type" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/0/0/0/0", 526s # "keywordLocation": "/items/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/0/0", 526s # "keywordLocation": "/items/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/0/0/0/0", 526s # "keywordLocation": "/items/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/0/0", 526s # "keywordLocation": "/items/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 427 - items.json: "nested items" - "not deep enough" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/0/0/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/0/1/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/1", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/0/2/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/2", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/1/0/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/1/0", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/1/1/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/1/1", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/1/2/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/1/2", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "/0/0/0", 526s # "keywordLocation": "/items/items/items/type" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 428 - items.json: "single-form items with null instance elements" - "allows null elements" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 429 - items.json: "array-form items with null instance elements" - "allows null elements" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 430 - maxItems.json: "maxItems validation" - "shorter is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 431 - maxItems.json: "maxItems validation" - "exact length is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 432 - maxItems.json: "maxItems validation" - "too long is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has more than 2 items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has more than 2 items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 433 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 434 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 435 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has more than 2 items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has more than 2 items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 436 - maxLength.json: "maxLength validation" - "shorter is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 437 - maxLength.json: "maxLength validation" - "exact length is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 438 - maxLength.json: "maxLength validation" - "too long is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 439 - maxLength.json: "maxLength validation" - "ignores non-strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 440 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 441 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 442 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 443 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 444 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 445 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object has more than 2 properties", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object has more than 2 properties", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 446 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 447 - maxProperties.json: "maxProperties validation" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 448 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 449 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 450 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object has more than 2 properties", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object has more than 2 properties", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 451 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 452 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object has more than 0 property", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object has more than 0 property", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maxProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 453 - maximum.json: "maximum validation" - "below the maximum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 454 - maximum.json: "maximum validation" - "boundary point is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 455 - maximum.json: "maximum validation" - "above the maximum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 3", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 456 - maximum.json: "maximum validation" - "ignores non-numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 457 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 458 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 459 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 460 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 300", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 300", 526s # "instanceLocation": "", 526s # "keywordLocation": "/maximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 461 - minItems.json: "minItems validation" - "longer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 462 - minItems.json: "minItems validation" - "exact length is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 463 - minItems.json: "minItems validation" - "too short is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 1 item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 1 item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 464 - minItems.json: "minItems validation" - "ignores non-arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 465 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 466 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 1 item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 1 item", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 467 - minLength.json: "minLength validation" - "longer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 468 - minLength.json: "minLength validation" - "exact length is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 469 - minLength.json: "minLength validation" - "too short is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 470 - minLength.json: "minLength validation" - "ignores non-strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 471 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 472 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 473 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minLength" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 474 - minProperties.json: "minProperties validation" - "longer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 475 - minProperties.json: "minProperties validation" - "exact length is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 476 - minProperties.json: "minProperties validation" - "too short is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object has fewer than 1 property", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object has fewer than 1 property", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 477 - minProperties.json: "minProperties validation" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 478 - minProperties.json: "minProperties validation" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 479 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 480 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 481 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object has fewer than 1 property", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object has fewer than 1 property", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 482 - minimum.json: "minimum validation" - "above the minimum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 483 - minimum.json: "minimum validation" - "boundary point is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 484 - minimum.json: "minimum validation" - "below the minimum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than 1.1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than 1.1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 485 - minimum.json: "minimum validation" - "ignores non-numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 486 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 487 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 488 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 489 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 490 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 491 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than -2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/minimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 492 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 493 - multipleOf.json: "by int" - "int by int" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 494 - multipleOf.json: "by int" - "int by int fail" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 495 - multipleOf.json: "by int" - "ignores non-numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 496 - multipleOf.json: "by number" - "zero is multiple of anything" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 497 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 498 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 1.5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 1.5", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 499 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 500 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 0.0001", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 0.0001", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 501 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 0.123456789", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is not a multiple of 0.123456789", 526s # "instanceLocation": "", 526s # "keywordLocation": "/multipleOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 502 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 503 - not.json: "not" - "allowed" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 504 - not.json: "not" - "disallowed" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 505 - not.json: "not multiple types" - "valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 506 - not.json: "not multiple types" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 507 - not.json: "not multiple types" - "other mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 508 - not.json: "not more complex schema" - "match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 509 - not.json: "not more complex schema" - "other match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 510 - not.json: "not more complex schema" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 511 - not.json: "forbidden property" - "property present" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/not" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/not" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 512 - not.json: "forbidden property" - "property absent" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 513 - not.json: "forbid everything with empty schema" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 514 - not.json: "forbid everything with empty schema" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 515 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 516 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 517 - not.json: "forbid everything with empty schema" - "null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 518 - not.json: "forbid everything with empty schema" - "object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 519 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 520 - not.json: "forbid everything with empty schema" - "array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 521 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 522 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 523 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 524 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 525 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 526 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 527 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 528 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 529 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 530 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/not" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 531 - not.json: "allow everything with boolean schema false" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 532 - not.json: "allow everything with boolean schema false" - "string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 533 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 534 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 535 - not.json: "allow everything with boolean schema false" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 536 - not.json: "allow everything with boolean schema false" - "object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 537 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 538 - not.json: "allow everything with boolean schema false" - "array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 539 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 540 - not.json: "double negation" - "any value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 541 - oneOf.json: "oneOf" - "first oneOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 542 - oneOf.json: "oneOf" - "second oneOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 543 - oneOf.json: "oneOf" - "both oneOf valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 544 - oneOf.json: "oneOf" - "neither oneOf valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/type" 526s # }, 526s # { 526s # "error": "value is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/minimum" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/type" 526s # }, 526s # { 526s # "error": "value is less than 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/minimum" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 545 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # }, 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 546 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 547 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 548 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1, 2", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 549 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 550 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 551 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/2" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1" 526s # }, 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/2" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 552 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 553 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 554 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 555 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/oneOf/0/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/properties" 526s # }, 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/oneOf/1/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/properties" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/oneOf/0/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/properties" 526s # }, 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/oneOf/1/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/properties" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 556 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 557 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 558 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/required" 526s # }, 526s # { 526s # "error": "object is missing properties: foo, baz", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/required" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/required" 526s # }, 526s # { 526s # "error": "object is missing properties: foo, baz", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/required" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 559 - oneOf.json: "oneOf with required" - "first valid - valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 560 - oneOf.json: "oneOf with required" - "second valid - valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 561 - oneOf.json: "oneOf with required" - "both valid - invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 562 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 563 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 564 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "multiple subschemas are valid: 0, 1", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 565 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/required" 526s # }, 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/required" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/required" 526s # }, 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/1/required" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 566 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 567 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/oneOf/0/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/oneOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/oneOf/0/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf/0/oneOf" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/oneOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 568 - pattern.json: "pattern validation" - "a matching pattern is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 569 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 570 - pattern.json: "pattern validation" - "ignores booleans" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 571 - pattern.json: "pattern validation" - "ignores integers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 572 - pattern.json: "pattern validation" - "ignores floats" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 573 - pattern.json: "pattern validation" - "ignores objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 574 - pattern.json: "pattern validation" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 575 - pattern.json: "pattern validation" - "ignores null" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 576 - pattern.json: "pattern is not anchored" - "matches a substring" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 577 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 578 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 579 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/patternProperties/f.*o/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/patternProperties/f.*o/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 580 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/patternProperties/f.*o/type" 526s # }, 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foooooo", 526s # "keywordLocation": "/patternProperties/f.*o/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/patternProperties/f.*o/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 581 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 582 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 583 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 584 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 585 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 586 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 587 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/a", 526s # "keywordLocation": "/patternProperties/a*/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/a", 526s # "keywordLocation": "/patternProperties/a*/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 588 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 20", 526s # "instanceLocation": "/aaaa", 526s # "keywordLocation": "/patternProperties/aaa*/maximum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than 20", 526s # "instanceLocation": "/aaaa", 526s # "keywordLocation": "/patternProperties/aaa*/maximum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 589 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/aaa", 526s # "keywordLocation": "/patternProperties/a*/type" 526s # }, 526s # { 526s # "error": "value is greater than 20", 526s # "instanceLocation": "/aaaa", 526s # "keywordLocation": "/patternProperties/aaa*/maximum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/aaa", 526s # "keywordLocation": "/patternProperties/a*/type" 526s # }, 526s # { 526s # "error": "value is greater than 20", 526s # "instanceLocation": "/aaaa", 526s # "keywordLocation": "/patternProperties/aaa*/maximum" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 590 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 591 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not boolean", 526s # "instanceLocation": "/a31b", 526s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not boolean", 526s # "instanceLocation": "/a31b", 526s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 592 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 593 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/a_X_3", 526s # "keywordLocation": "/patternProperties/X_/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/a_X_3", 526s # "keywordLocation": "/patternProperties/X_/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 594 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 595 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/patternProperties/b.*" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/patternProperties/b.*" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 596 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/patternProperties/b.*" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/patternProperties/b.*" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 597 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/foobar", 526s # "keywordLocation": "/patternProperties/b.*" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/foobar", 526s # "keywordLocation": "/patternProperties/b.*" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 598 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 599 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 600 - properties.json: "object properties validation" - "both properties present and valid is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 601 - properties.json: "object properties validation" - "one property invalid is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 602 - properties.json: "object properties validation" - "both properties invalid is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/type" 526s # }, 526s # { 526s # "error": "got array, not integer", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 603 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 604 - properties.json: "object properties validation" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 605 - properties.json: "object properties validation" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 606 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 607 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has more than 3 items", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/maxItems" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has more than 3 items", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/maxItems" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 608 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 2 items", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/patternProperties/f.o/minItems" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 2 items", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/patternProperties/f.o/minItems" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 609 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 610 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 2 items", 526s # "instanceLocation": "/fxo", 526s # "keywordLocation": "/patternProperties/f.o/minItems" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "array has fewer than 2 items", 526s # "instanceLocation": "/fxo", 526s # "keywordLocation": "/patternProperties/f.o/minItems" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 611 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 612 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 613 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/quux", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/quux", 526s # "keywordLocation": "/additionalProperties/type" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 614 - properties.json: "properties with boolean schema" - "no property present is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 615 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 616 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 617 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 618 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 619 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\tbar", 526s # "keywordLocation": "/properties/foo\tbar/type" 526s # }, 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\nbar", 526s # "keywordLocation": "/properties/foo\nbar/type" 526s # }, 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\fbar", 526s # "keywordLocation": "/properties/foo\fbar/type" 526s # }, 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\rbar", 526s # "keywordLocation": "/properties/foo\rbar/type" 526s # }, 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\"bar", 526s # "keywordLocation": "/properties/foo\"bar/type" 526s # }, 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\\bar", 526s # "keywordLocation": "/properties/foo\\bar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\tbar", 526s # "keywordLocation": "/properties/foo\tbar/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 620 - properties.json: "properties with null valued instance properties" - "allows null values" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 621 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 622 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 623 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 624 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/__proto__", 526s # "keywordLocation": "/properties/__proto__/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "/__proto__", 526s # "keywordLocation": "/properties/__proto__/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 625 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/toString/length", 526s # "keywordLocation": "/properties/toString/properties/length/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/toString", 526s # "keywordLocation": "/properties/toString/properties" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/toString/length", 526s # "keywordLocation": "/properties/toString/properties/length/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/toString", 526s # "keywordLocation": "/properties/toString/properties" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 626 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not number", 526s # "instanceLocation": "/constructor", 526s # "keywordLocation": "/properties/constructor/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not number", 526s # "instanceLocation": "/constructor", 526s # "keywordLocation": "/properties/constructor/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 627 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 628 - propertyNames.json: "propertyNames validation" - "all property names valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 629 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 3", 526s # "instanceLocation": "/foobar", 526s # "keywordLocation": "/propertyNames/maxLength" 526s # }, 526s # { 526s # "error": "not all property names are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/propertyNames" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "length is greater than 3", 526s # "instanceLocation": "/foobar", 526s # "keywordLocation": "/propertyNames/maxLength" 526s # }, 526s # { 526s # "error": "not all property names are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/propertyNames" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 630 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 631 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 632 - propertyNames.json: "propertyNames validation" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 633 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 634 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 635 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "/aaA", 526s # "keywordLocation": "/propertyNames/pattern" 526s # }, 526s # { 526s # "error": "not all property names are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/propertyNames" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "/aaA", 526s # "keywordLocation": "/propertyNames/pattern" 526s # }, 526s # { 526s # "error": "not all property names are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/propertyNames" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 636 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 637 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 638 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 639 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/propertyNames" 526s # }, 526s # { 526s # "error": "not all property names are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/propertyNames" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "subschema is false", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/propertyNames" 526s # }, 526s # { 526s # "error": "not all property names are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/propertyNames" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 640 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 641 - ref.json: "root pointer ref" - "match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 642 - ref.json: "root pointer ref" - "recursive match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 643 - ref.json: "root pointer ref" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 644 - ref.json: "root pointer ref" - "recursive mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/additionalProperties", 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/foo/bar", 526s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/additionalProperties", 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/additionalProperties", 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/foo/bar", 526s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/additionalProperties", 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 645 - ref.json: "relative pointer ref to object" - "match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 646 - ref.json: "relative pointer ref to object" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/properties/foo/type", 526s # "error": "got boolean, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/properties/foo/type", 526s # "error": "got boolean, not integer", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/properties/bar/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 647 - ref.json: "relative pointer ref to array" - "match array" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 648 - ref.json: "relative pointer ref to array" - "mismatch array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/items/0/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/1/$ref/type" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/items/0/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/1", 526s # "keywordLocation": "/items/1/$ref/type" 526s # }, 526s # { 526s # "error": "not all items are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 649 - ref.json: "escaped pointer ref" - "slash invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/slash", 526s # "keywordLocation": "/properties/slash/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/slash", 526s # "keywordLocation": "/properties/slash/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 650 - ref.json: "escaped pointer ref" - "tilde invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/tilde", 526s # "keywordLocation": "/properties/tilde/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/tilde", 526s # "keywordLocation": "/properties/tilde/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 651 - ref.json: "escaped pointer ref" - "percent invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/percent", 526s # "keywordLocation": "/properties/percent/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/percent", 526s # "keywordLocation": "/properties/percent/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 652 - ref.json: "escaped pointer ref" - "slash valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 653 - ref.json: "escaped pointer ref" - "tilde valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 654 - ref.json: "escaped pointer ref" - "percent valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 655 - ref.json: "nested refs" - "nested ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 656 - ref.json: "nested refs" - "nested ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/a/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/a/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 657 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 658 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 659 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/reffed/type", 526s # "error": "got string, not array", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/reffed/type", 526s # "error": "got string, not array", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 660 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 661 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 662 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 663 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeInteger/minimum", 526s # "error": "value is less than 0", 526s # "instanceLocation": "/minLength", 526s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeIntegerDefault0/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "/minLength", 526s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeInteger/minimum", 526s # "error": "value is less than 0", 526s # "instanceLocation": "/minLength", 526s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeIntegerDefault0/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "/minLength", 526s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 664 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 665 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/$ref", 526s # "keywordLocation": "/properties/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not string", 526s # "instanceLocation": "/$ref", 526s # "keywordLocation": "/properties/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 666 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 667 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/is-string/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/$ref", 526s # "keywordLocation": "/properties/$ref/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/is-string/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/$ref", 526s # "keywordLocation": "/properties/$ref/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 668 - ref.json: "$ref to boolean schema true" - "any value is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 669 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/bool", 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/bool", 526s # "error": "subschema is false", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 670 - ref.json: "Recursive references between schemas" - "valid tree" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 671 - ref.json: "Recursive references between schemas" - "invalid tree" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/nodes/0/subtree/nodes/0", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/nodes/0/subtree/nodes", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/nodes/0/subtree", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/nodes/0", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/nodes", 526s # "keywordLocation": "/properties/nodes/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/nodes/0/subtree/nodes/0", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/nodes/0/subtree/nodes", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/nodes/0/subtree", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/nodes/0", 526s # "keywordLocation": "/properties/nodes/items/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/nodes", 526s # "keywordLocation": "/properties/nodes/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 672 - ref.json: "refs with quote" - "object with numbers is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 673 - ref.json: "refs with quote" - "object with strings is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\"bar", 526s # "keywordLocation": "/properties/foo\"bar/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "/foo\"bar", 526s # "keywordLocation": "/properties/foo\"bar/$ref/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 674 - ref.json: "Location-independent identifier" - "match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 675 - ref.json: "Location-independent identifier" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/A/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/A/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 676 - ref.json: "Reference an anchor with a non-relative URI" - "match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 677 - ref.json: "Reference an anchor with a non-relative URI" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 678 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 679 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s 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" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s 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" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/enum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 682 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 683 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo/bar", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo/bar", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 684 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 685 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 686 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo/bar", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo/bar", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 687 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 688 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 689 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 690 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 691 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 692 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 526s # "error": "value is less than 30", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/minimum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 526s # "error": "value is less than 30", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/minimum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 693 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 694 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 695 - ref.json: "URN base URI with NSS" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 696 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 697 - ref.json: "URN base URI with r-component" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 698 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 699 - ref.json: "URN base URI with q-component" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 700 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 701 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 702 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 703 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 704 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/foo", 526s # "keywordLocation": "/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 705 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 706 - ref.json: "ref to if" - "an integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 707 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 708 - ref.json: "ref to then" - "an integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 709 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 710 - ref.json: "ref to else" - "an integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 711 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 712 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 713 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 714 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 715 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 716 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 717 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 718 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions//definitions//type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions//definitions//type", 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/type" 526s # }, 526s # { 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 719 - refRemote.json: "remote ref" - "remote ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 720 - refRemote.json: "remote ref" - "remote ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 721 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 722 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 723 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 724 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 725 - refRemote.json: "base URI change" - "base URI change ref valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 726 - refRemote.json: "base URI change" - "base URI change ref invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/items/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/0/0", 526s # "keywordLocation": "/items/items/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/0", 526s # "keywordLocation": "/items/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/items" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 727 - refRemote.json: "base URI change - change folder" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 728 - refRemote.json: "base URI change - change folder" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/list/0", 526s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/list", 526s # "keywordLocation": "/properties/list/$ref/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/list/0", 526s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/list", 526s # "keywordLocation": "/properties/list/$ref/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 729 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 730 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/list/0", 526s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/list", 526s # "keywordLocation": "/properties/list/$ref/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "/list/0", 526s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 526s # "error": "subschema is not valid against all items", 526s # "instanceLocation": "/list", 526s # "keywordLocation": "/properties/list/$ref/items" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 731 - refRemote.json: "root ref in remote ref" - "string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 732 - refRemote.json: "root ref in remote ref" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 733 - refRemote.json: "root ref in remote ref" - "object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 526s # "error": "got object, not null", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 526s # "error": "got object, not string", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/anyOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 526s # "error": "got object, not null", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 526s # "error": "got object, not string", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/anyOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 734 - refRemote.json: "remote ref with ref to definitions" - "invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/bar", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/0/$ref/allOf" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 526s # "error": "subschema 0 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 735 - refRemote.json: "remote ref with ref to definitions" - "valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 736 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 737 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 738 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/name/foo", 526s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "/name/foo", 526s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "/name", 526s # "keywordLocation": "/properties/name/$ref/properties" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/properties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 739 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 740 - refRemote.json: "$ref to $ref finds location-independent $id" - "number is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 741 - refRemote.json: "$ref to $ref finds location-independent $id" - "non-number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/draft7/detached-ref.json#/definitions/detached/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/draft7/detached-ref.json#/definitions/detached/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/$ref/$ref/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 742 - required.json: "required validation" - "present required property is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 743 - required.json: "required validation" - "non-present required property is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing property: foo", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 744 - required.json: "required validation" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 745 - required.json: "required validation" - "ignores strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 746 - required.json: "required validation" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 747 - required.json: "required default validation" - "not required by default" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 748 - required.json: "required with empty array" - "property not required" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 749 - required.json: "required with escaped characters" - "object with all properties present is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 750 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 751 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 752 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 753 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: __proto__, toString, constructor", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: __proto__, toString, constructor", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 754 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: toString, constructor", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: toString, constructor", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 755 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: __proto__, constructor", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: __proto__, constructor", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 756 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: __proto__, toString", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "object is missing properties: __proto__, toString", 526s # "instanceLocation": "", 526s # "keywordLocation": "/required" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 757 - required.json: "required properties whose names are Javascript object property names" - "all present" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 758 - type.json: "integer type matches integers" - "an integer is an integer" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 759 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 760 - type.json: "integer type matches integers" - "a float is not an integer" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got number, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got number, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 761 - type.json: "integer type matches integers" - "a string is not an integer" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 762 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got string, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 763 - type.json: "integer type matches integers" - "an object is not an integer" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got object, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got object, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 764 - type.json: "integer type matches integers" - "an array is not an integer" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got array, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got array, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 765 - type.json: "integer type matches integers" - "a boolean is not an integer" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got boolean, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got boolean, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 766 - type.json: "integer type matches integers" - "null is not an integer" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got null, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 526s # "error": "got null, not integer", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 767 - type.json: "number type matches numbers" - "an integer is a number" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 768 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 769 - type.json: "number type matches numbers" - "a float is a number" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 770 - type.json: "number type matches numbers" - "a string is not a number" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 771 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 772 - type.json: "number type matches numbers" - "an object is not a number" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 773 - type.json: "number type matches numbers" - "an array is not a number" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 774 - type.json: "number type matches numbers" - "a boolean is not a number" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 775 - type.json: "number type matches numbers" - "null is not a number" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not number", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 776 - type.json: "string type matches strings" - "1 is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 777 - type.json: "string type matches strings" - "a float is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got number, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got number, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 778 - type.json: "string type matches strings" - "a string is a string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 779 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 780 - type.json: "string type matches strings" - "an empty string is still a string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 781 - type.json: "string type matches strings" - "an object is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got object, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got object, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 782 - type.json: "string type matches strings" - "an array is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got array, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got array, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 783 - type.json: "string type matches strings" - "a boolean is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got boolean, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got boolean, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 784 - type.json: "string type matches strings" - "null is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got null, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got null, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 785 - type.json: "object type matches objects" - "an integer is not an object" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 786 - type.json: "object type matches objects" - "a float is not an object" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 787 - type.json: "object type matches objects" - "a string is not an object" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 788 - type.json: "object type matches objects" - "an object is an object" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 789 - type.json: "object type matches objects" - "an array is not an object" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 790 - type.json: "object type matches objects" - "a boolean is not an object" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 791 - type.json: "object type matches objects" - "null is not an object" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 792 - type.json: "array type matches arrays" - "an integer is not an array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 793 - type.json: "array type matches arrays" - "a float is not an array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 794 - type.json: "array type matches arrays" - "a string is not an array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 795 - type.json: "array type matches arrays" - "an object is not an array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 796 - type.json: "array type matches arrays" - "an array is an array" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 797 - type.json: "array type matches arrays" - "a boolean is not an array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 798 - type.json: "array type matches arrays" - "null is not an array" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not array", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 799 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 800 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 801 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 802 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 803 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 804 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 805 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 806 - type.json: "boolean type matches booleans" - "true is a boolean" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 807 - type.json: "boolean type matches booleans" - "false is a boolean" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 808 - type.json: "boolean type matches booleans" - "null is not a boolean" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not boolean", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 809 - type.json: "null type matches only the null object" - "an integer is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 810 - type.json: "null type matches only the null object" - "a float is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 811 - type.json: "null type matches only the null object" - "zero is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 812 - type.json: "null type matches only the null object" - "a string is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 813 - type.json: "null type matches only the null object" - "an empty string is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 814 - type.json: "null type matches only the null object" - "an object is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 815 - type.json: "null type matches only the null object" - "an array is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 816 - type.json: "null type matches only the null object" - "true is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 817 - type.json: "null type matches only the null object" - "false is not null" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 818 - type.json: "null type matches only the null object" - "null is null" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 819 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 820 - type.json: "multiple types can be specified in an array" - "a string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 821 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got number, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 822 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got object, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 823 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got array, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 824 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got boolean, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 825 - type.json: "multiple types can be specified in an array" - "null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not one of integer, string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 826 - type.json: "type as array with one item" - "string is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 827 - type.json: "type as array with one item" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not one of string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not one of string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 828 - type.json: "type: array or object" - "array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 829 - type.json: "type: array or object" - "object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 830 - type.json: "type: array or object" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not one of array, object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not one of array, object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 831 - type.json: "type: array or object" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not one of array, object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not one of array, object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 832 - type.json: "type: array or object" - "null is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not one of array, object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got null, not one of array, object", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 833 - type.json: "type: array, object or null" - "array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 834 - type.json: "type: array, object or null" - "object is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 835 - type.json: "type: array, object or null" - "null is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 836 - type.json: "type: array, object or null" - "number is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not one of array, object, null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got integer, not one of array, object, null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 837 - type.json: "type: array, object or null" - "string is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not one of array, object, null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not one of array, object, null", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 838 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 839 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 840 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 2 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 2 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 841 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 842 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 843 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 844 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 845 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 2 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 2 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 846 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 847 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 848 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 849 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 850 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 851 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 852 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 853 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 2 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 2 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 854 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 855 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 856 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 857 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 858 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 859 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 860 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 861 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 4 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 4 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 862 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 863 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 864 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 865 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 866 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 867 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 868 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 869 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 870 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 871 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 872 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 2 and 3 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 2 and 3 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 873 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 2 and 3 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 2 and 3 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 874 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 875 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 876 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 877 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "items at indices 0 and 1 are not unique", 526s # "instanceLocation": "", 526s # "keywordLocation": "/uniqueItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 878 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 879 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 880 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 881 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 882 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 883 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 884 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 885 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 886 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 887 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 888 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 889 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 890 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 891 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 892 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 893 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 894 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 895 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 896 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 897 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 898 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 899 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 900 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 901 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 902 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 903 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 904 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 905 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 906 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional item not permitted", 526s # "instanceLocation": "/2", 526s # "keywordLocation": "/additionalItems" 526s # }, 526s # { 526s # "error": "subschema is not valid against all additional items", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalItems" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 907 - optional/bignum.json: "integer" - "a bignum is an integer" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 908 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 909 - optional/bignum.json: "number" - "a bignum is a number" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 910 - optional/bignum.json: "number" - "a negative bignum is a number" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 911 - optional/bignum.json: "string" - "a bignum is not a string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/type" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 912 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 913 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMaximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMaximum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 914 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 915 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMinimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 526s # "instanceLocation": "", 526s # "keywordLocation": "/exclusiveMinimum" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 916 - optional/content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 917 - optional/content.json: "validation of string-encoded content based on media type" - "an invalid JSON document" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentMediaType" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentMediaType" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 918 - optional/content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 919 - optional/content.json: "validation of binary string-encoding" - "a valid base64 string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 920 - optional/content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode base64 string: invalid characters", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentEncoding" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode base64 string: invalid characters", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentEncoding" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 921 - optional/content.json: "validation of binary string-encoding" - "ignores non-strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 922 - optional/content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 923 - optional/content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\\n\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentMediaType" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\\n\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentMediaType" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 924 - optional/content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode base64 string: invalid characters", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentEncoding" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "could not decode base64 string: invalid characters", 526s # "instanceLocation": "", 526s # "keywordLocation": "/contentEncoding" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 925 - optional/content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 926 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "missing bar is invalid" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired/foo", 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/$ref/dependentRequired/foo" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired", 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/$ref/dependentRequired" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired/foo", 526s # "error": "object is missing property: bar", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/$ref/dependentRequired/foo" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired", 526s # "error": "not all dependencies are satisfied", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf/1/$ref/dependentRequired" 526s # }, 526s # { 526s # "error": "subschema 1 is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/allOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 927 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "present bar is valid" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 928 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 929 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 930 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 931 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 932 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 933 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 934 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 935 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 936 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true # 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "\"߀\"" 526s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "\"߀\"" 526s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s 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" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false # 526s 1..1 526s } 526s 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" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected true; got false 526s # data: "\"߀\"" 526s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s 1..1 526s } 526s 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" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected true; got false 526s # data: "\"߀\"" 526s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s 1..1 526s } 526s ok 942 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true # 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "\"é\"" 526s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s 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" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false # 526s 1..1 526s } 526s 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" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected true; got false 526s # data: "\"é\"" 526s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s 1..1 526s } 526s ok 946 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 947 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 948 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 949 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 950 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 951 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected true; got false 526s # data: "\"\"" 526s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s 1..1 526s } 526s ok 952 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 953 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 954 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 955 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 956 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 957 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 958 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 959 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 960 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 961 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "\"\"" 526s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s ok 963 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 964 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 965 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 966 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 967 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 968 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 969 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 970 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 971 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 972 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # 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.\"" 526s # schema: "{\"pattern\":\"\\\\wcole\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # 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.\"" 526s # schema: "{\"pattern\":\"\\\\wcole\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s ok 975 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 976 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 977 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 978 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 979 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 980 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "\"৪২\"" 526s # schema: "{\"pattern\":\"^\\\\d+$\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s ok 982 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 983 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 984 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 985 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 986 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 987 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 988 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/L'ÉCOLE", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/L'ÉCOLE", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 989 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "{\"l'école\":\"pas de vraie vie\"}" 526s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "{\"l'école\":\"pas de vraie vie\"}" 526s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s ok 992 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/L'ÉCOLE", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/L'ÉCOLE", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 993 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/l'école", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/l'école", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 994 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/l'école", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/l'école", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 995 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 996 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 997 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/-%#", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/-%#", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s 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" 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s not ok 1 - evaluation result is incorrect # 526s # Failed test (with amnesty) 'evaluation result is incorrect' 526s # at t/zzz-acceptance-draft7.t line 49. 526s # expected false; got true 526s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 526s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 526s # result: { 526s # "valid": true 526s # } 526s 1..1 526s } 526s ok 999 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1000 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/-%#", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "additional property not permitted", 526s # "instanceLocation": "/-%#", 526s # "keywordLocation": "/additionalProperties" 526s # }, 526s # { 526s # "error": "not all additional properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/additionalProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1001 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 1002 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s # 526s ok 1003 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1004 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1005 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/$ref/enum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/$ref/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/$ref/enum" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/$ref/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1006 - optional/id.json: "non-schema object containing a plain-name $id property" - "skip traversing definition for a valid result" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1007 - optional/id.json: "non-schema object containing a plain-name $id property" - "const at const_not_anchor does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/$ref/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/$ref/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1008 - optional/id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1009 - optional/id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/$ref/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 526s # "error": "value does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else/$ref/const" 526s # }, 526s # { 526s # "error": "subschema is not valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/else" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s ok 1010 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1011 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1012 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1013 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1014 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1015 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1016 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "pattern does not match", 526s # "instanceLocation": "", 526s # "keywordLocation": "/pattern" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1017 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1018 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1019 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1020 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/🐲", 526s # "keywordLocation": "/patternProperties/^🐲*$/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/🐲", 526s # "keywordLocation": "/patternProperties/^🐲*$/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1021 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 526s # result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/🐲🐲", 526s # "keywordLocation": "/patternProperties/^🐲*$/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "error": "got string, not integer", 526s # "instanceLocation": "/🐲🐲", 526s # "keywordLocation": "/patternProperties/^🐲*$/type" 526s # }, 526s # { 526s # "error": "not all properties are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/patternProperties" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s 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" { 526s # result: { 526s # "valid": true 526s # } 526s # short-circuited result: { 526s # "valid": true 526s # } 526s ok 1 - test passes: data is valid: true 526s 1..1 526s } 526s ok 1023 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 526s # "error": "got null, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/2/$ref/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 526s # "error": "got null, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/2/$ref/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s ok 1024 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 526s # result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/2/$ref/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s # short-circuited result: { 526s # "errors": [ 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/0/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 526s # "error": "subschema is valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/1/$ref/not" 526s # }, 526s # { 526s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 526s # "error": "got integer, not string", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf/2/$ref/type" 526s # }, 526s # { 526s # "error": "no subschemas are valid", 526s # "instanceLocation": "", 526s # "keywordLocation": "/anyOf" 526s # } 526s # ], 526s # "valid": false 526s # } 526s ok 1 - test passes: data is valid: false 526s 1..1 526s } 526s # 526s # 526s # generated with: Test::JSON::Schema::Acceptance 1.026 526s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 526s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 526s # specification version: draft7 526s # optional tests included: yes 526s # skipping directory: optional/format 526s # 526s # filename pass todo-fail fail 526s # --------------------------------------------------------------- 526s # additionalItems.json 20 0 0 526s # additionalProperties.json 16 0 0 526s # allOf.json 30 0 0 526s # anyOf.json 18 0 0 526s # boolean_schema.json 18 0 0 526s # const.json 50 0 0 526s # contains.json 21 0 0 526s # default.json 7 0 0 526s # definitions.json 2 0 0 526s # dependencies.json 36 0 0 526s # enum.json 45 0 0 526s # exclusiveMaximum.json 4 0 0 526s # exclusiveMinimum.json 4 0 0 526s # format.json 102 0 0 526s # if-then-else.json 26 0 0 526s # infinite-loop-detection.json 2 0 0 526s # items.json 28 0 0 526s # maxItems.json 6 0 0 526s # maxLength.json 7 0 0 526s # maxProperties.json 10 0 0 526s # maximum.json 8 0 0 526s # minItems.json 6 0 0 526s # minLength.json 7 0 0 526s # minProperties.json 8 0 0 526s # minimum.json 11 0 0 526s # multipleOf.json 10 0 0 526s # not.json 38 0 0 526s # oneOf.json 27 0 0 526s # pattern.json 9 0 0 526s # patternProperties.json 23 0 0 526s # properties.json 28 0 0 526s # propertyNames.json 13 0 0 526s # ref.json 78 0 0 526s # refRemote.json 23 0 0 526s # required.json 16 0 0 526s # type.json 80 0 0 526s # uniqueItems.json 69 0 0 526s # optional/bignum.json 9 0 0 526s # optional/content.json 10 0 0 526s # optional/cross-draft.json 2 0 0 526s # optional/ecmascript-regex.json 60 14 0 526s # optional/float-overflow.json 1 0 0 526s # optional/id.json 7 0 0 526s # optional/non-bmp-regex.json 12 0 0 526s # optional/unknownKeyword.json 3 0 0 526s # --------------------------------------------------------------- 526s # TOTAL 1010 14 0 526s # 526s # Congratulations, all non-optional tests are passing! 526s # 526s ok 1025 - no leaks in the main evaluator object 526s ok 1026 - no leaks in the short-circuiting evaluator object 526s 1..1026 526s ok 526s t/zzz-check-breaks.t .................... 526s 1..2 526s ok 1 # skip no conflicts module found to check against 526s ok 2 - checked x_breaks data 526s ok 526s All tests successful. 526s 526s Test Summary Report 526s ------------------- 526s t/zzz-acceptance-draft2019-09-format.t (Wstat: 0 Tests: 473 Failed: 0) 526s TODO passed: 131-135, 146-201, 258-270, 282, 415-424 526s 450 526s t/zzz-acceptance-draft2019-09.t (Wstat: 0 Tests: 1376 Failed: 0) 526s TODO passed: 1237-1272, 1281-1290, 1296, 1307, 1318-1319 526s 1326, 1335-1336, 1343, 1366-1371 526s t/zzz-acceptance-draft2020-12-format.t (Wstat: 0 Tests: 480 Failed: 0) 526s TODO passed: 118-119, 138-142, 153-208, 265-277, 289 526s 422-431, 457 526s t/zzz-acceptance-draft2020-12.t (Wstat: 0 Tests: 1406 Failed: 0) 526s TODO passed: 1260-1295, 1306-1315, 1321, 1332, 1343-1344 526s 1351-1352, 1361-1362, 1369, 1396-1401 526s t/zzz-acceptance-draft4-format.t (Wstat: 0 Tests: 153 Failed: 0) 526s TODO passed: 59-62, 151 526s t/zzz-acceptance-draft4.t (Wstat: 0 Tests: 712 Failed: 0) 526s TODO passed: 446, 611-612, 628-637, 643, 654, 665-666 526s 673, 682-683, 690 526s t/zzz-acceptance-draft6-format.t (Wstat: 0 Tests: 214 Failed: 0) 526s TODO passed: 59-62, 177-186, 212 526s t/zzz-acceptance-draft6.t (Wstat: 0 Tests: 930 Failed: 0) 526s TODO passed: 840-849, 855, 866, 877-878, 885, 894-895 526s 902 526s t/zzz-acceptance-draft7-format.t (Wstat: 0 Tests: 425 Failed: 0) 526s TODO passed: 106-109, 120-174, 231-243, 255, 388-397 526s 423 526s t/zzz-acceptance-draft7.t (Wstat: 0 Tests: 1026 Failed: 0) 526s TODO passed: 936-945, 951, 962, 973-974, 981, 990-991 526s 998 526s Files=44, Tests=10302, 100 wallclock secs ( 4.30 usr 0.39 sys + 94.74 cusr 4.76 csys = 104.19 CPU) 526s Result: PASS 526s autopkgtest [08:49:40]: test autodep8-perl-build-deps: -----------------------] 527s autopkgtest [08:49:41]: test autodep8-perl-build-deps: - - - - - - - - - - results - - - - - - - - - - 527s autodep8-perl-build-deps PASS 527s autopkgtest [08:49:41]: test autodep8-perl: preparing testbed 588s autopkgtest [08:50:42]: testbed dpkg architecture: arm64 589s autopkgtest [08:50:43]: testbed apt version: 2.9.8 589s autopkgtest [08:50:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 590s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 590s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 590s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1036 kB] 590s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 590s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.0 kB] 590s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [171 kB] 590s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 590s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [787 kB] 590s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6404 B] 590s Fetched 2241 kB in 1s (2515 kB/s) 590s Reading package lists... 593s Reading package lists... 593s Building dependency tree... 593s Reading state information... 594s Calculating upgrade... 594s The following NEW packages will be installed: 594s libassuan9 594s The following packages will be upgraded: 594s libgpgme11t64 libseccomp2 python3-cffi-backend python3-markupsafe 595s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 595s Need to get 337 kB of archives. 595s After this operation, 447 kB of additional disk space will be used. 595s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libseccomp2 arm64 2.5.5-1ubuntu5 [51.4 kB] 595s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi-backend arm64 1.17.1-2build1 [89.9 kB] 595s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libassuan9 arm64 3.0.1-2 [40.6 kB] 595s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgpgme11t64 arm64 1.24.0-2ubuntu1 [142 kB] 595s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-markupsafe arm64 2.1.5-1build3 [13.0 kB] 595s Fetched 337 kB in 0s (720 kB/s) 596s (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 ... 79957 files and directories currently installed.) 596s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu5_arm64.deb ... 596s Unpacking libseccomp2:arm64 (2.5.5-1ubuntu5) over (2.5.5-1ubuntu4) ... 596s Setting up libseccomp2:arm64 (2.5.5-1ubuntu5) ... 596s (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 ... 79957 files and directories currently installed.) 596s Preparing to unpack .../python3-cffi-backend_1.17.1-2build1_arm64.deb ... 596s Unpacking python3-cffi-backend:arm64 (1.17.1-2build1) over (1.17.1-2) ... 596s Selecting previously unselected package libassuan9:arm64. 596s Preparing to unpack .../libassuan9_3.0.1-2_arm64.deb ... 596s Unpacking libassuan9:arm64 (3.0.1-2) ... 596s Preparing to unpack .../libgpgme11t64_1.24.0-2ubuntu1_arm64.deb ... 596s Unpacking libgpgme11t64:arm64 (1.24.0-2ubuntu1) over (1.23.2-5ubuntu4) ... 596s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_arm64.deb ... 596s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 596s Setting up python3-markupsafe (2.1.5-1build3) ... 596s Setting up libassuan9:arm64 (3.0.1-2) ... 596s Setting up libgpgme11t64:arm64 (1.24.0-2ubuntu1) ... 596s Setting up python3-cffi-backend:arm64 (1.17.1-2build1) ... 596s Processing triggers for libc-bin (2.40-1ubuntu3) ... 596s Reading package lists... 597s Building dependency tree... 597s Reading state information... 597s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 598s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 598s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 598s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 598s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 599s Reading package lists... 599s Reading package lists... 599s Building dependency tree... 599s Reading state information... 600s Calculating upgrade... 600s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 600s Reading package lists... 601s Building dependency tree... 601s Reading state information... 601s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 605s Reading package lists... 605s Building dependency tree... 605s Reading state information... 606s Starting pkgProblemResolver with broken count: 0 606s Starting 2 pkgProblemResolver with broken count: 0 606s Done 606s The following additional packages will be installed: 606s autodep8 dctrl-tools javascript-common libautovivification-perl 606s libb-hooks-endofscope-perl libb-hooks-op-check-perl libclass-inspector-perl 606s libclass-method-modifiers-perl libclass-xsaccessor-perl 606s libcpanel-json-xs-perl libdata-optlist-perl libdevel-callchecker-perl 606s libdynaloader-functions-perl libexporter-tiny-perl 606s libfeature-compat-try-perl libfile-sharedir-perl 606s libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl 606s libjs-bootstrap5 libjs-highlight.js libjs-popper.js 606s libjson-schema-modern-perl libmodule-implementation-perl 606s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 606s libnamespace-clean-perl libpackage-stash-perl libparams-classify-perl 606s libparams-util-perl libparams-validate-perl libpath-tiny-perl 606s libref-util-perl librole-tiny-perl libsafe-isa-perl libstrictures-perl 606s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 606s libsub-install-perl libsub-name-perl libsub-quote-perl 606s libsyntax-keyword-try-perl libtry-tiny-perl libtype-tiny-perl 606s libvariable-magic-perl libxs-parse-keyword-perl pkg-perl-autopkgtest 606s Suggested packages: 606s debtags apache2 | lighttpd | httpd bootstrap-icons libjs-bootstrap5-doc 606s libscalar-number-perl libbareword-filehandles-perl libindirect-perl 606s libmultidimensional-perl libxstring-perl libdevel-lexalias-perl 606s libdevel-stacktrace-perl 606s Recommended packages: 606s node-jquery libdata-validate-domain-perl libdatetime-format-rfc3339-perl 606s libemail-address-xs-perl libnet-idn-encode-perl libref-util-xs-perl 606s libsereal-perl libtime-moment-perl libtype-tiny-xs-perl libev-perl 606s libfuture-asyncawait-perl libio-socket-socks-perl libio-socket-ssl-perl 606s libmojo-server-fastcgi-perl libpackage-stash-xs-perl libunicode-utf8-perl 606s libreadonly-perl 606s The following NEW packages will be installed: 606s autodep8 autopkgtest-satdep dctrl-tools javascript-common 606s libautovivification-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl 606s libclass-inspector-perl libclass-method-modifiers-perl 606s libclass-xsaccessor-perl libcpanel-json-xs-perl libdata-optlist-perl 606s libdevel-callchecker-perl libdynaloader-functions-perl libexporter-tiny-perl 606s libfeature-compat-try-perl libfile-sharedir-perl 606s libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl 606s libjs-bootstrap5 libjs-highlight.js libjs-popper.js 606s libjson-schema-modern-perl libmodule-implementation-perl 606s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 606s libnamespace-clean-perl libpackage-stash-perl libparams-classify-perl 606s libparams-util-perl libparams-validate-perl libpath-tiny-perl 606s libref-util-perl librole-tiny-perl libsafe-isa-perl libstrictures-perl 606s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 606s libsub-install-perl libsub-name-perl libsub-quote-perl 606s libsyntax-keyword-try-perl libtry-tiny-perl libtype-tiny-perl 606s libvariable-magic-perl libxs-parse-keyword-perl pkg-perl-autopkgtest 606s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 606s Need to get 3064 kB/3065 kB of archives. 606s After this operation, 14.3 MB of additional disk space will be used. 606s Get:1 /tmp/autopkgtest.DjlJoo/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [732 B] 607s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dctrl-tools arm64 2.24-3build3 [103 kB] 607s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 autodep8 all 0.28+nmu1ubuntu1 [13.7 kB] 607s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 javascript-common all 11+nmu1 [5936 B] 607s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 libautovivification-perl arm64 0.18-2build5 [22.0 kB] 607s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libb-hooks-op-check-perl arm64 0.22-3build2 [9348 B] 607s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libdynaloader-functions-perl all 0.004-1 [11.4 kB] 607s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libdevel-callchecker-perl arm64 0.009-1build1 [14.0 kB] 607s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libparams-classify-perl arm64 0.015-2build6 [19.8 kB] 607s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libmodule-runtime-perl all 0.016-2 [16.4 kB] 607s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libtry-tiny-perl all 0.32-1 [21.2 kB] 607s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libmodule-implementation-perl all 0.09-2 [12.0 kB] 607s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 607s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libvariable-magic-perl arm64 0.64-1build1 [35.3 kB] 607s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 607s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-inspector-perl all 1.36-3 [15.4 kB] 607s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 607s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-xsaccessor-perl arm64 1.19-4build5 [32.7 kB] 607s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libcpanel-json-xs-perl arm64 4.38-1build1 [114 kB] 607s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libparams-util-perl arm64 1.102-3build1 [20.6 kB] 607s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-install-perl all 0.929-1 [9764 B] 607s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libdata-optlist-perl all 0.114-1 [9708 B] 607s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libexporter-tiny-perl all 1.006002-1 [36.8 kB] 607s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-sharedir-perl all 1.118-3 [14.0 kB] 607s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libxs-parse-keyword-perl arm64 0.46-1 [60.5 kB] 607s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libsyntax-keyword-try-perl arm64 0.30-1 [24.2 kB] 607s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 libfeature-compat-try-perl all 0.05-1 [9998 B] 607s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libio-stringy-perl all 2.113-2 [45.3 kB] 607s Get:29 http://ftpmaster.internal/ubuntu plucky/universe arm64 libparams-validate-perl arm64 1.31-2build4 [52.1 kB] 607s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-exporter-perl all 0.990-1 [49.0 kB] 607s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libgetopt-long-descriptive-perl all 0.115-1 [24.9 kB] 607s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libimport-into-perl all 1.002005-2 [10.7 kB] 607s Get:33 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 607s Get:34 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-bootstrap5 all 5.3.3+dfsg-1 [309 kB] 607s Get:35 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 607s Get:36 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmojolicious-perl all 9.38+dfsg-1 [760 kB] 607s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 librole-tiny-perl all 2.002004-1 [16.3 kB] 607s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 607s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libmoo-perl all 2.005005-1 [47.4 kB] 607s Get:40 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtype-tiny-perl all 2.004000-1 [354 kB] 607s Get:41 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmoox-typetiny-perl all 0.002003-4 [5930 B] 607s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libpackage-stash-perl all 0.40-1 [19.5 kB] 607s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-identify-perl arm64 0.14-3build4 [9762 B] 607s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libsub-name-perl arm64 0.27-1build4 [10.6 kB] 607s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libnamespace-clean-perl all 0.27-2 [14.0 kB] 607s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libpath-tiny-perl all 0.146-1 [47.5 kB] 607s Get:47 http://ftpmaster.internal/ubuntu plucky/universe arm64 libref-util-perl all 0.204-2 [15.1 kB] 607s Get:48 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsafe-isa-perl all 1.000010-1 [7684 B] 607s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libstrictures-perl all 2.000006-1 [16.3 kB] 608s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjson-schema-modern-perl all 0.593-1 [100 kB] 608s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 pkg-perl-autopkgtest all 0.80 [18.7 kB] 608s Fetched 3064 kB in 1s (2840 kB/s) 608s Selecting previously unselected package dctrl-tools. 608s (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 ... 79964 files and directories currently installed.) 608s Preparing to unpack .../00-dctrl-tools_2.24-3build3_arm64.deb ... 608s Unpacking dctrl-tools (2.24-3build3) ... 608s Selecting previously unselected package autodep8. 608s Preparing to unpack .../01-autodep8_0.28+nmu1ubuntu1_all.deb ... 608s Unpacking autodep8 (0.28+nmu1ubuntu1) ... 608s Selecting previously unselected package javascript-common. 608s Preparing to unpack .../02-javascript-common_11+nmu1_all.deb ... 608s Unpacking javascript-common (11+nmu1) ... 608s Selecting previously unselected package libautovivification-perl:arm64. 608s Preparing to unpack .../03-libautovivification-perl_0.18-2build5_arm64.deb ... 608s Unpacking libautovivification-perl:arm64 (0.18-2build5) ... 608s Selecting previously unselected package libb-hooks-op-check-perl:arm64. 608s Preparing to unpack .../04-libb-hooks-op-check-perl_0.22-3build2_arm64.deb ... 608s Unpacking libb-hooks-op-check-perl:arm64 (0.22-3build2) ... 608s Selecting previously unselected package libdynaloader-functions-perl. 608s Preparing to unpack .../05-libdynaloader-functions-perl_0.004-1_all.deb ... 608s Unpacking libdynaloader-functions-perl (0.004-1) ... 608s Selecting previously unselected package libdevel-callchecker-perl:arm64. 608s Preparing to unpack .../06-libdevel-callchecker-perl_0.009-1build1_arm64.deb ... 608s Unpacking libdevel-callchecker-perl:arm64 (0.009-1build1) ... 608s Selecting previously unselected package libparams-classify-perl:arm64. 608s Preparing to unpack .../07-libparams-classify-perl_0.015-2build6_arm64.deb ... 608s Unpacking libparams-classify-perl:arm64 (0.015-2build6) ... 608s Selecting previously unselected package libmodule-runtime-perl. 608s Preparing to unpack .../08-libmodule-runtime-perl_0.016-2_all.deb ... 608s Unpacking libmodule-runtime-perl (0.016-2) ... 608s Selecting previously unselected package libtry-tiny-perl. 608s Preparing to unpack .../09-libtry-tiny-perl_0.32-1_all.deb ... 608s Unpacking libtry-tiny-perl (0.32-1) ... 608s Selecting previously unselected package libmodule-implementation-perl. 608s Preparing to unpack .../10-libmodule-implementation-perl_0.09-2_all.deb ... 608s Unpacking libmodule-implementation-perl (0.09-2) ... 608s Selecting previously unselected package libsub-exporter-progressive-perl. 609s Preparing to unpack .../11-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 609s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 609s Selecting previously unselected package libvariable-magic-perl. 609s Preparing to unpack .../12-libvariable-magic-perl_0.64-1build1_arm64.deb ... 609s Unpacking libvariable-magic-perl (0.64-1build1) ... 609s Selecting previously unselected package libb-hooks-endofscope-perl. 609s Preparing to unpack .../13-libb-hooks-endofscope-perl_0.28-1_all.deb ... 609s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 609s Selecting previously unselected package libclass-inspector-perl. 609s Preparing to unpack .../14-libclass-inspector-perl_1.36-3_all.deb ... 609s Unpacking libclass-inspector-perl (1.36-3) ... 609s Selecting previously unselected package libclass-method-modifiers-perl. 609s Preparing to unpack .../15-libclass-method-modifiers-perl_2.15-1_all.deb ... 609s Unpacking libclass-method-modifiers-perl (2.15-1) ... 609s Selecting previously unselected package libclass-xsaccessor-perl. 609s Preparing to unpack .../16-libclass-xsaccessor-perl_1.19-4build5_arm64.deb ... 609s Unpacking libclass-xsaccessor-perl (1.19-4build5) ... 609s Selecting previously unselected package libcpanel-json-xs-perl:arm64. 609s Preparing to unpack .../17-libcpanel-json-xs-perl_4.38-1build1_arm64.deb ... 609s Unpacking libcpanel-json-xs-perl:arm64 (4.38-1build1) ... 609s Selecting previously unselected package libparams-util-perl. 609s Preparing to unpack .../18-libparams-util-perl_1.102-3build1_arm64.deb ... 609s Unpacking libparams-util-perl (1.102-3build1) ... 609s Selecting previously unselected package libsub-install-perl. 609s Preparing to unpack .../19-libsub-install-perl_0.929-1_all.deb ... 609s Unpacking libsub-install-perl (0.929-1) ... 609s Selecting previously unselected package libdata-optlist-perl. 609s Preparing to unpack .../20-libdata-optlist-perl_0.114-1_all.deb ... 609s Unpacking libdata-optlist-perl (0.114-1) ... 609s Selecting previously unselected package libexporter-tiny-perl. 609s Preparing to unpack .../21-libexporter-tiny-perl_1.006002-1_all.deb ... 609s Unpacking libexporter-tiny-perl (1.006002-1) ... 609s Selecting previously unselected package libfile-sharedir-perl. 609s Preparing to unpack .../22-libfile-sharedir-perl_1.118-3_all.deb ... 609s Unpacking libfile-sharedir-perl (1.118-3) ... 609s Selecting previously unselected package libxs-parse-keyword-perl. 609s Preparing to unpack .../23-libxs-parse-keyword-perl_0.46-1_arm64.deb ... 609s Unpacking libxs-parse-keyword-perl (0.46-1) ... 609s Selecting previously unselected package libsyntax-keyword-try-perl. 609s Preparing to unpack .../24-libsyntax-keyword-try-perl_0.30-1_arm64.deb ... 609s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 609s Selecting previously unselected package libfeature-compat-try-perl. 609s Preparing to unpack .../25-libfeature-compat-try-perl_0.05-1_all.deb ... 609s Unpacking libfeature-compat-try-perl (0.05-1) ... 609s Selecting previously unselected package libio-stringy-perl. 609s Preparing to unpack .../26-libio-stringy-perl_2.113-2_all.deb ... 609s Unpacking libio-stringy-perl (2.113-2) ... 609s Selecting previously unselected package libparams-validate-perl:arm64. 609s Preparing to unpack .../27-libparams-validate-perl_1.31-2build4_arm64.deb ... 609s Unpacking libparams-validate-perl:arm64 (1.31-2build4) ... 609s Selecting previously unselected package libsub-exporter-perl. 609s Preparing to unpack .../28-libsub-exporter-perl_0.990-1_all.deb ... 609s Unpacking libsub-exporter-perl (0.990-1) ... 609s Selecting previously unselected package libgetopt-long-descriptive-perl. 609s Preparing to unpack .../29-libgetopt-long-descriptive-perl_0.115-1_all.deb ... 609s Unpacking libgetopt-long-descriptive-perl (0.115-1) ... 609s Selecting previously unselected package libimport-into-perl. 609s Preparing to unpack .../30-libimport-into-perl_1.002005-2_all.deb ... 609s Unpacking libimport-into-perl (1.002005-2) ... 609s Selecting previously unselected package libjs-popper.js. 609s Preparing to unpack .../31-libjs-popper.js_1.16.1+ds-6_all.deb ... 609s Unpacking libjs-popper.js (1.16.1+ds-6) ... 609s Selecting previously unselected package libjs-bootstrap5. 609s Preparing to unpack .../32-libjs-bootstrap5_5.3.3+dfsg-1_all.deb ... 609s Unpacking libjs-bootstrap5 (5.3.3+dfsg-1) ... 609s Selecting previously unselected package libjs-highlight.js. 609s Preparing to unpack .../33-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 609s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 609s Selecting previously unselected package libmojolicious-perl. 609s Preparing to unpack .../34-libmojolicious-perl_9.38+dfsg-1_all.deb ... 609s Unpacking libmojolicious-perl (9.38+dfsg-1) ... 610s Selecting previously unselected package librole-tiny-perl. 610s Preparing to unpack .../35-librole-tiny-perl_2.002004-1_all.deb ... 610s Unpacking librole-tiny-perl (2.002004-1) ... 610s Selecting previously unselected package libsub-quote-perl. 610s Preparing to unpack .../36-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 610s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 610s Selecting previously unselected package libmoo-perl. 610s Preparing to unpack .../37-libmoo-perl_2.005005-1_all.deb ... 610s Unpacking libmoo-perl (2.005005-1) ... 610s Selecting previously unselected package libtype-tiny-perl. 610s Preparing to unpack .../38-libtype-tiny-perl_2.004000-1_all.deb ... 610s Unpacking libtype-tiny-perl (2.004000-1) ... 610s Selecting previously unselected package libmoox-typetiny-perl. 610s Preparing to unpack .../39-libmoox-typetiny-perl_0.002003-4_all.deb ... 610s Unpacking libmoox-typetiny-perl (0.002003-4) ... 610s Selecting previously unselected package libpackage-stash-perl. 610s Preparing to unpack .../40-libpackage-stash-perl_0.40-1_all.deb ... 610s Unpacking libpackage-stash-perl (0.40-1) ... 610s Selecting previously unselected package libsub-identify-perl. 610s Preparing to unpack .../41-libsub-identify-perl_0.14-3build4_arm64.deb ... 610s Unpacking libsub-identify-perl (0.14-3build4) ... 610s Selecting previously unselected package libsub-name-perl:arm64. 610s Preparing to unpack .../42-libsub-name-perl_0.27-1build4_arm64.deb ... 610s Unpacking libsub-name-perl:arm64 (0.27-1build4) ... 610s Selecting previously unselected package libnamespace-clean-perl. 610s Preparing to unpack .../43-libnamespace-clean-perl_0.27-2_all.deb ... 610s Unpacking libnamespace-clean-perl (0.27-2) ... 610s Selecting previously unselected package libpath-tiny-perl. 610s Preparing to unpack .../44-libpath-tiny-perl_0.146-1_all.deb ... 610s Unpacking libpath-tiny-perl (0.146-1) ... 610s Selecting previously unselected package libref-util-perl. 610s Preparing to unpack .../45-libref-util-perl_0.204-2_all.deb ... 610s Unpacking libref-util-perl (0.204-2) ... 610s Selecting previously unselected package libsafe-isa-perl. 610s Preparing to unpack .../46-libsafe-isa-perl_1.000010-1_all.deb ... 610s Unpacking libsafe-isa-perl (1.000010-1) ... 610s Selecting previously unselected package libstrictures-perl. 610s Preparing to unpack .../47-libstrictures-perl_2.000006-1_all.deb ... 610s Unpacking libstrictures-perl (2.000006-1) ... 610s Selecting previously unselected package libjson-schema-modern-perl. 610s Preparing to unpack .../48-libjson-schema-modern-perl_0.593-1_all.deb ... 610s Unpacking libjson-schema-modern-perl (0.593-1) ... 610s Selecting previously unselected package pkg-perl-autopkgtest. 610s Preparing to unpack .../49-pkg-perl-autopkgtest_0.80_all.deb ... 610s Unpacking pkg-perl-autopkgtest (0.80) ... 610s Selecting previously unselected package autopkgtest-satdep. 610s Preparing to unpack .../50-2-autopkgtest-satdep.deb ... 610s Unpacking autopkgtest-satdep (0) ... 610s Setting up javascript-common (11+nmu1) ... 610s Setting up libsafe-isa-perl (1.000010-1) ... 610s Setting up libclass-inspector-perl (1.36-3) ... 610s Setting up libdynaloader-functions-perl (0.004-1) ... 610s Setting up libclass-method-modifiers-perl (2.15-1) ... 610s Setting up libjs-popper.js (1.16.1+ds-6) ... 610s Setting up libsub-identify-perl (0.14-3build4) ... 610s Setting up libcpanel-json-xs-perl:arm64 (4.38-1build1) ... 610s Setting up libio-stringy-perl (2.113-2) ... 610s Setting up libtry-tiny-perl (0.32-1) ... 610s Setting up libsub-install-perl (0.929-1) ... 610s Setting up libautovivification-perl:arm64 (0.18-2build5) ... 610s Setting up libref-util-perl (0.204-2) ... 610s Setting up libvariable-magic-perl (0.64-1build1) ... 610s Setting up libb-hooks-op-check-perl:arm64 (0.22-3build2) ... 610s Setting up libparams-util-perl (1.102-3build1) ... 610s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 610s Setting up libsub-name-perl:arm64 (0.27-1build4) ... 610s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 610s Setting up libpath-tiny-perl (0.146-1) ... 610s Setting up librole-tiny-perl (2.002004-1) ... 610s Setting up libfile-sharedir-perl (1.118-3) ... 610s Setting up libstrictures-perl (2.000006-1) ... 610s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 610s Setting up libclass-xsaccessor-perl (1.19-4build5) ... 610s Setting up libexporter-tiny-perl (1.006002-1) ... 610s Setting up libjs-bootstrap5 (5.3.3+dfsg-1) ... 610s Setting up dctrl-tools (2.24-3build3) ... 610s Setting up autodep8 (0.28+nmu1ubuntu1) ... 610s Setting up libmojolicious-perl (9.38+dfsg-1) ... 610s Setting up libtype-tiny-perl (2.004000-1) ... 610s Setting up libdevel-callchecker-perl:arm64 (0.009-1build1) ... 610s Setting up libxs-parse-keyword-perl (0.46-1) ... 610s Setting up libdata-optlist-perl (0.114-1) ... 610s Setting up pkg-perl-autopkgtest (0.80) ... 610s Setting up libsyntax-keyword-try-perl (0.30-1) ... 610s Setting up libsub-exporter-perl (0.990-1) ... 610s Setting up libfeature-compat-try-perl (0.05-1) ... 610s Setting up libparams-classify-perl:arm64 (0.015-2build6) ... 610s Setting up libmodule-runtime-perl (0.016-2) ... 610s Setting up libmodule-implementation-perl (0.09-2) ... 610s Setting up libpackage-stash-perl (0.40-1) ... 610s Setting up libimport-into-perl (1.002005-2) ... 610s Setting up libmoo-perl (2.005005-1) ... 610s Setting up libmoox-typetiny-perl (0.002003-4) ... 610s Setting up libparams-validate-perl:arm64 (1.31-2build4) ... 610s Setting up libb-hooks-endofscope-perl (0.28-1) ... 610s Setting up libnamespace-clean-perl (0.27-2) ... 610s Setting up libgetopt-long-descriptive-perl (0.115-1) ... 610s Setting up libjson-schema-modern-perl (0.593-1) ... 610s Setting up autopkgtest-satdep (0) ... 610s Processing triggers for man-db (2.13.0-1) ... 616s (Reading database ... 81417 files and directories currently installed.) 616s Removing autopkgtest-satdep (0) ... 618s autopkgtest [08:51:12]: test autodep8-perl: /usr/share/pkg-perl-autopkgtest/runner runtime-deps 618s autopkgtest [08:51:12]: test autodep8-perl: [----------------------- 619s /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. 619s 1..4 619s ok 1 - /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 exited successfully 619s ok 2 - /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 produced no (non-whitelisted) output 619s ok 3 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 exited successfully 619s ok 4 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 produced no (non-whitelisted) output 619s ok 619s All tests successful. 619s Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.69 cusr 0.09 csys = 0.80 CPU) 619s Result: PASS 619s autopkgtest [08:51:13]: test autodep8-perl: -----------------------] 620s autodep8-perl PASS (superficial) 620s autopkgtest [08:51:14]: test autodep8-perl: - - - - - - - - - - results - - - - - - - - - - 620s autopkgtest [08:51:14]: test autodep8-perl-recommends: preparing testbed 621s Reading package lists... 621s Building dependency tree... 621s Reading state information... 622s Starting pkgProblemResolver with broken count: 0 622s Starting 2 pkgProblemResolver with broken count: 0 622s Done 622s The following additional packages will be installed: 622s libalgorithm-c3-perl libclass-c3-perl libclass-data-inheritable-perl 622s libclass-singleton-perl libdata-validate-domain-perl 622s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 622s libdatetime-timezone-perl libdevel-stacktrace-perl libemail-address-xs-perl 622s libeval-closure-perl libexception-class-perl libmro-compat-perl 622s libnamespace-autoclean-perl libnet-domain-tld-perl libnet-idn-encode-perl 622s libparams-validationcompiler-perl libref-util-xs-perl libsereal-decoder-perl 622s libsereal-encoder-perl libsereal-perl libspecio-perl libtime-moment-perl 622s libtype-tiny-xs-perl libxstring-perl 622s Suggested packages: 622s libtest-fatal-perl 622s Recommended packages: 622s libclass-c3-xs-perl libdevel-lexalias-perl 622s The following NEW packages will be installed: 623s autopkgtest-satdep libalgorithm-c3-perl libclass-c3-perl 623s libclass-data-inheritable-perl libclass-singleton-perl 623s libdata-validate-domain-perl libdatetime-format-rfc3339-perl 623s libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl 623s libdevel-stacktrace-perl libemail-address-xs-perl libeval-closure-perl 623s libexception-class-perl libmro-compat-perl libnamespace-autoclean-perl 623s libnet-domain-tld-perl libnet-idn-encode-perl 623s libparams-validationcompiler-perl libref-util-xs-perl libsereal-decoder-perl 623s libsereal-encoder-perl libsereal-perl libspecio-perl libtime-moment-perl 623s libtype-tiny-xs-perl libxstring-perl 623s 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 623s Need to get 4336 kB/4337 kB of archives. 623s After this operation, 34.6 MB of additional disk space will be used. 623s Get:1 /tmp/autopkgtest.DjlJoo/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [824 B] 623s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 libalgorithm-c3-perl all 0.11-2 [10.2 kB] 623s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclass-c3-perl all 0.35-2 [18.4 kB] 623s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libclass-data-inheritable-perl all 0.10-1 [8038 B] 623s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclass-singleton-perl all 1.6-2 [11.5 kB] 623s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libnet-domain-tld-perl all 1.75-4 [29.0 kB] 623s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libdata-validate-domain-perl all 0.15-1 [10.4 kB] 623s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnamespace-autoclean-perl all 0.31-1 [11.9 kB] 623s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 libeval-closure-perl all 0.14-3 [10.1 kB] 623s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 623s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libexception-class-perl all 1.45-1 [28.6 kB] 623s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 libparams-validationcompiler-perl all 0.31-1 [28.3 kB] 623s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmro-compat-perl all 0.15-2 [10.1 kB] 623s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 libxstring-perl arm64 0.005-2build4 [7866 B] 623s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 libspecio-perl all 0.48-1 [137 kB] 623s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-locale-perl all 1:1.41-1 [3193 kB] 625s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-timezone-perl all 1:2.63-2+2024b [259 kB] 625s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-perl arm64 2:1.65-1build3 [95.9 kB] 625s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdatetime-format-rfc3339-perl all 1.8.0-1 [8156 B] 625s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libemail-address-xs-perl arm64 1.05-1build5 [29.0 kB] 625s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnet-idn-encode-perl arm64 2.500-5build1 [83.9 kB] 625s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 libref-util-xs-perl arm64 0.117-2build5 [12.6 kB] 625s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libsereal-decoder-perl arm64 5.004+ds-1build4 [101 kB] 625s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libsereal-encoder-perl arm64 5.004+ds-1build4 [104 kB] 625s Get:25 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsereal-perl all 5.004-1 [8770 B] 625s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libtime-moment-perl arm64 0.44-2build5 [72.1 kB] 625s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtype-tiny-xs-perl arm64 0.025-2build1 [25.2 kB] 625s Fetched 4336 kB in 2s (1775 kB/s) 625s Selecting previously unselected package libalgorithm-c3-perl. 625s (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 ... 81417 files and directories currently installed.) 625s Preparing to unpack .../00-libalgorithm-c3-perl_0.11-2_all.deb ... 625s Unpacking libalgorithm-c3-perl (0.11-2) ... 625s Selecting previously unselected package libclass-c3-perl. 625s Preparing to unpack .../01-libclass-c3-perl_0.35-2_all.deb ... 625s Unpacking libclass-c3-perl (0.35-2) ... 625s Selecting previously unselected package libclass-data-inheritable-perl. 625s Preparing to unpack .../02-libclass-data-inheritable-perl_0.10-1_all.deb ... 625s Unpacking libclass-data-inheritable-perl (0.10-1) ... 625s Selecting previously unselected package libclass-singleton-perl. 625s Preparing to unpack .../03-libclass-singleton-perl_1.6-2_all.deb ... 625s Unpacking libclass-singleton-perl (1.6-2) ... 625s Selecting previously unselected package libnet-domain-tld-perl. 626s Preparing to unpack .../04-libnet-domain-tld-perl_1.75-4_all.deb ... 626s Unpacking libnet-domain-tld-perl (1.75-4) ... 626s Selecting previously unselected package libdata-validate-domain-perl. 626s Preparing to unpack .../05-libdata-validate-domain-perl_0.15-1_all.deb ... 626s Unpacking libdata-validate-domain-perl (0.15-1) ... 626s Selecting previously unselected package libnamespace-autoclean-perl. 626s Preparing to unpack .../06-libnamespace-autoclean-perl_0.31-1_all.deb ... 626s Unpacking libnamespace-autoclean-perl (0.31-1) ... 626s Selecting previously unselected package libeval-closure-perl. 626s Preparing to unpack .../07-libeval-closure-perl_0.14-3_all.deb ... 626s Unpacking libeval-closure-perl (0.14-3) ... 626s Selecting previously unselected package libdevel-stacktrace-perl. 626s Preparing to unpack .../08-libdevel-stacktrace-perl_2.0500-1_all.deb ... 626s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 626s Selecting previously unselected package libexception-class-perl. 626s Preparing to unpack .../09-libexception-class-perl_1.45-1_all.deb ... 626s Unpacking libexception-class-perl (1.45-1) ... 626s Selecting previously unselected package libparams-validationcompiler-perl. 626s Preparing to unpack .../10-libparams-validationcompiler-perl_0.31-1_all.deb ... 626s Unpacking libparams-validationcompiler-perl (0.31-1) ... 626s Selecting previously unselected package libmro-compat-perl. 626s Preparing to unpack .../11-libmro-compat-perl_0.15-2_all.deb ... 626s Unpacking libmro-compat-perl (0.15-2) ... 626s Selecting previously unselected package libxstring-perl:arm64. 626s Preparing to unpack .../12-libxstring-perl_0.005-2build4_arm64.deb ... 626s Unpacking libxstring-perl:arm64 (0.005-2build4) ... 626s Selecting previously unselected package libspecio-perl. 626s Preparing to unpack .../13-libspecio-perl_0.48-1_all.deb ... 626s Unpacking libspecio-perl (0.48-1) ... 626s Selecting previously unselected package libdatetime-locale-perl. 626s Preparing to unpack .../14-libdatetime-locale-perl_1%3a1.41-1_all.deb ... 626s Unpacking libdatetime-locale-perl (1:1.41-1) ... 626s Selecting previously unselected package libdatetime-timezone-perl. 626s Preparing to unpack .../15-libdatetime-timezone-perl_1%3a2.63-2+2024b_all.deb ... 626s Unpacking libdatetime-timezone-perl (1:2.63-2+2024b) ... 626s Selecting previously unselected package libdatetime-perl. 626s Preparing to unpack .../16-libdatetime-perl_2%3a1.65-1build3_arm64.deb ... 626s Unpacking libdatetime-perl (2:1.65-1build3) ... 626s Selecting previously unselected package libdatetime-format-rfc3339-perl. 626s Preparing to unpack .../17-libdatetime-format-rfc3339-perl_1.8.0-1_all.deb ... 626s Unpacking libdatetime-format-rfc3339-perl (1.8.0-1) ... 626s Selecting previously unselected package libemail-address-xs-perl. 626s Preparing to unpack .../18-libemail-address-xs-perl_1.05-1build5_arm64.deb ... 626s Unpacking libemail-address-xs-perl (1.05-1build5) ... 626s Selecting previously unselected package libnet-idn-encode-perl. 626s Preparing to unpack .../19-libnet-idn-encode-perl_2.500-5build1_arm64.deb ... 626s Unpacking libnet-idn-encode-perl (2.500-5build1) ... 626s Selecting previously unselected package libref-util-xs-perl. 626s Preparing to unpack .../20-libref-util-xs-perl_0.117-2build5_arm64.deb ... 626s Unpacking libref-util-xs-perl (0.117-2build5) ... 626s Selecting previously unselected package libsereal-decoder-perl. 626s Preparing to unpack .../21-libsereal-decoder-perl_5.004+ds-1build4_arm64.deb ... 626s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 626s Selecting previously unselected package libsereal-encoder-perl. 627s Preparing to unpack .../22-libsereal-encoder-perl_5.004+ds-1build4_arm64.deb ... 627s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 627s Selecting previously unselected package libsereal-perl. 627s Preparing to unpack .../23-libsereal-perl_5.004-1_all.deb ... 627s Unpacking libsereal-perl (5.004-1) ... 627s Selecting previously unselected package libtime-moment-perl. 627s Preparing to unpack .../24-libtime-moment-perl_0.44-2build5_arm64.deb ... 627s Unpacking libtime-moment-perl (0.44-2build5) ... 627s Selecting previously unselected package libtype-tiny-xs-perl:arm64. 627s Preparing to unpack .../25-libtype-tiny-xs-perl_0.025-2build1_arm64.deb ... 627s Unpacking libtype-tiny-xs-perl:arm64 (0.025-2build1) ... 627s Selecting previously unselected package autopkgtest-satdep. 627s Preparing to unpack .../26-3-autopkgtest-satdep.deb ... 627s Unpacking autopkgtest-satdep (0) ... 627s Setting up libref-util-xs-perl (0.117-2build5) ... 627s Setting up libnet-idn-encode-perl (2.500-5build1) ... 627s Setting up libclass-singleton-perl (1.6-2) ... 627s Setting up libtime-moment-perl (0.44-2build5) ... 627s Setting up libxstring-perl:arm64 (0.005-2build4) ... 627s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 627s Setting up libclass-data-inheritable-perl (0.10-1) ... 627s Setting up libalgorithm-c3-perl (0.11-2) ... 627s Setting up libnet-domain-tld-perl (1.75-4) ... 627s Setting up libtype-tiny-xs-perl:arm64 (0.025-2build1) ... 627s Setting up libdata-validate-domain-perl (0.15-1) ... 627s Setting up libdevel-stacktrace-perl (2.0500-1) ... 627s Setting up libnamespace-autoclean-perl (0.31-1) ... 627s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 627s Setting up libeval-closure-perl (0.14-3) ... 627s Setting up libemail-address-xs-perl (1.05-1build5) ... 627s Setting up libsereal-perl (5.004-1) ... 627s Setting up libexception-class-perl (1.45-1) ... 627s Setting up libclass-c3-perl (0.35-2) ... 627s Setting up libmro-compat-perl (0.15-2) ... 627s Setting up libparams-validationcompiler-perl (0.31-1) ... 627s Setting up libspecio-perl (0.48-1) ... 627s Setting up libdatetime-locale-perl (1:1.41-1) ... 627s Setting up libdatetime-timezone-perl (1:2.63-2+2024b) ... 627s Setting up libdatetime-perl (2:1.65-1build3) ... 627s Setting up libdatetime-format-rfc3339-perl (1.8.0-1) ... 627s Setting up autopkgtest-satdep (0) ... 627s Processing triggers for man-db (2.13.0-1) ... 630s (Reading database ... 85256 files and directories currently installed.) 630s Removing autopkgtest-satdep (0) ... 630s autopkgtest [08:51:24]: test autodep8-perl-recommends: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends 630s autopkgtest [08:51:24]: test autodep8-perl-recommends: [----------------------- 632s /usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t .. 632s 1..4 632s ok 1 - Package libjson-schema-modern-perl is known to dpkg 632s ok 2 - Got status information for package libjson-schema-modern-perl 632s ok 3 - Got file list for package libjson-schema-modern-perl 632s # Subtest: all modules in libjson-schema-modern-perl pass the syntax check 632s 1..16 632s ok 1 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Annotation.pm exited successfully 632s ok 2 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Document.pm exited successfully 632s ok 3 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Error.pm exited successfully 632s ok 4 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Result.pm exited successfully 632s ok 5 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/ResultNode.pm exited successfully 632s ok 6 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Utilities.pm exited successfully 632s ok 7 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Applicator.pm exited successfully 632s ok 8 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Content.pm exited successfully 632s ok 9 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Core.pm exited successfully 632s ok 10 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/FormatAnnotation.pm exited successfully 632s ok 11 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/FormatAssertion.pm exited successfully 632s ok 12 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/MetaData.pm exited successfully 632s ok 13 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Unevaluated.pm exited successfully 632s ok 14 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Validation.pm exited successfully 632s ok 15 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary.pm exited successfully 632s ok 16 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern.pm exited successfully 632s ok 4 - all modules in libjson-schema-modern-perl pass the syntax check 632s ok 632s All tests successful. 632s Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 1.33 cusr 0.22 csys = 1.57 CPU) 632s Result: PASS 632s autopkgtest [08:51:26]: test autodep8-perl-recommends: -----------------------] 633s autodep8-perl-recommends PASS (superficial) 633s autopkgtest [08:51:27]: test autodep8-perl-recommends: - - - - - - - - - - results - - - - - - - - - - 633s autopkgtest [08:51:27]: @@@@@@@@@@@@@@@@@@@@ summary 633s autodep8-perl-build-deps PASS 633s autodep8-perl PASS (superficial) 633s autodep8-perl-recommends PASS (superficial) 645s nova [W] Skipping flock in bos03-arm64 645s Creating nova instance adt-plucky-arm64-libjson-schema-modern-perl-20241116-084054-juju-7f2275-prod-proposed-migration-environment-15-5e1dd32d-db6c-4d1b-a18a-6eef20102f88 from image adt/ubuntu-plucky-arm64-server-20241115.img (UUID bf337bb2-b8c9-4fc7-87ba-f6e99408dba6)... 645s nova [W] nova quota exceeded (attempt #0) 645s nova [W] Skipping flock in bos03-arm64 645s Creating nova instance adt-plucky-arm64-libjson-schema-modern-perl-20241116-084054-juju-7f2275-prod-proposed-migration-environment-15-5e1dd32d-db6c-4d1b-a18a-6eef20102f88 from image adt/ubuntu-plucky-arm64-server-20241115.img (UUID bf337bb2-b8c9-4fc7-87ba-f6e99408dba6)...